How to Allocate Quantitative Disk and Network Bandwidth to Container on Docker

  docker, question

Assuming that I have started 10 containers, I hope each container only uses 10G of hard disk and 1Mb of network bandwidth. Personally, I don’t think docker can directly support it. I need to bypass docker and directly use cgroup to meet the requirements. Who has experience?

The native docker does not have this capability. quota is used for disk quota and tc is used for network bandwidth control.