1. A method for assigning at least one parallel job to a plurality of containers competing for a total capacity of a larger container, wherein the at least one parallel job comprises a plurality of tasks, the method comprising: determining a current utilization and a potential free capacity for each of the plurality of competing containers; and assigning the tasks to one of the plurality of containers based on the potential free capacities and at least one predefined scheduling policy.