Resource limits: CPU, memory, swap and processes
Select an icon to see what it is.
Step 3 of 6
Weights only matter when the CPU is busy
A container with a low weight can still use an idle CPU fully, up to its quota if it has one. Only when containers compete for CPU time does the weight decide the split. So shares cannot protect you from a runaway container on their own, but a quota can.
Effect of cpu.weight
idle host: the container gets as much CPU as it asks forbusy host: CPU time is shared in proportion to the weights