I only download the docker and Nvidia driver and Nvidia toolkit in one lxd container. But when I try to publish the container to an image. I find that it cost nearly 800GB. I use df -h
,it output
Filesystem Size Used Avail Use% Mounted on
zfs-pool/containers/desk 28T 765G 27T 3% /
none 492K 4.0K 488K 1% /dev
udev 504G 0 504G 0% /dev/fuse
tmpfs 100K 0 100K 0% /dev/lxd
/dev/sda2 3.5T 566G 2.8T 17% /dev/nvidia0
tmpfs 100K 0 100K 0% /dev/.lxd-mounts
tmpfs 504G 0 504G 0% /dev/shm
tmpfs 101G 144K 101G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 504G 0 504G 0% /sys/fs/cgroup
I am confused about it. How can I find out what file cost such a big memory?