How is the rootfs size of a docker container decided?
问题 On one system, the disk size of the Docker container is like this: root@b65c6518f583:/# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/docker-253:0-202764498-b65c6518f5837667e7021971a97aebd382dddca6b3ecf4167472ebe17f16aace 99G 268M 94G 1% / tmpfs 5.8G 0 5.8G 0% /dev shm 64M 0 64M 0% /dev/shm tmpfs 5.8G 0 5.8G 0% /sys/fs/cgroup tmpfs 5.8G 96K 5.8G 1% /run/secrets /dev/mapper/rhel-root 50G 20G 31G 40% /etc/hosts We can see the rootfs size is 99G. While in another system, the disk