imkh
V2EX  ›  Docker

docker 使用 aufs storage 的问题

  •  
  •   imkh · Jan 22, 2016 · 3115 views
    This topic created in 3766 days ago, the information mentioned may be changed or developed.
    docker 使用 aufs storage 的默认最大空间限制是多少?
    在官网都没有找到说明,我在使用 aufs 存储的容器里写了个 12G 的文件,依然可以写入,难道不是 10G 的最大限制?
    还有,如何限制使用 aufs 存储的 docker 磁盘大小?
    3 replies    2016-01-22 12:17:12 +08:00
    denghongcai
        1
    denghongcai  
       Jan 22, 2016   ❤️ 1
    没有限制, devicemapper 才有,但是 devicemapper 不能单独限制某个 container 用多少空间

    无法限制 aufs 存储层的 container 可用大小, docker 团队也是死扛就是不加

    但是你可以用 zfs 存储层来达到目的,虽然并不算是个能用到生产中的稳定特性
    denghongcai
        2
    denghongcai  
       Jan 22, 2016   ❤️ 1
    imkh
        3
    imkh  
    OP
       Jan 22, 2016
    @denghongcai 谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2896 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 14:59 · PVG 22:59 · LAX 07:59 · JFK 10:59
    ♥ Do have faith in what you're doing.