search

Home  >  Q&A  >  body text

如何为Docker上的Container分配定量的磁盘、网络带宽

假设我启动了10个container,我希望每个container只使用10G的硬盘和1Mb的网络带宽,个人觉得docker中似乎不能直接支持,需要绕过docker直接用cgroup才能达到要求,请问谁有经验么?

巴扎黑巴扎黑2774 days ago736

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-21 10:58:34

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

    reply
    0
  • Cancelreply