August 20, 20178 yr My docker image was full and my containers wouldn't start so I deleted it and started a new one. It is 33GB and I only have 2.8GB free. I have included a picture of my containers. I don't really have that much installed. How can I find out what is taking all of my space?
August 21, 20178 yr 4 hours ago, xxredxpandaxx said: My docker image was full and my containers wouldn't start so I deleted it and started a new one. It is 33GB and I only have 2.8GB free. I have included a picture of my containers. I don't really have that much installed. How can I find out what is taking all of my space? You have folders mapped incorrectly somewhere and data is being written to the docker image instead of to your array. You can try du -xh --max-depth=1 /var/lib/docker|sort -hr and that should tell what what folders are consuming the most space in your image. Mine looks like this, removing the -x flag allows it to cross filesystem boundaries so that will show files in your Docker subvolumes. root@unRAID:~# du -xh --max-depth=1 /var/lib/docker|sort -hr 17M /var/lib/docker 12M /var/lib/docker/image 2.4M /var/lib/docker/unraid 2.4M /var/lib/docker/containers 104K /var/lib/docker/volumes 104K /var/lib/docker/network 0 /var/lib/docker/trust 0 /var/lib/docker/tmp-old 0 /var/lib/docker/tmp 0 /var/lib/docker/swarm 0 /var/lib/docker/plugins 0 /var/lib/docker/btrfs root@unRAID:~# du -h --max-depth=1 /var/lib/docker|sort -hr 22G /var/lib/docker/btrfs 22G /var/lib/docker 12M /var/lib/docker/image 2.4M /var/lib/docker/unraid 2.4M /var/lib/docker/containers 104K /var/lib/docker/volumes 104K /var/lib/docker/network 0 /var/lib/docker/trust 0 /var/lib/docker/tmp-old 0 /var/lib/docker/tmp 0 /var/lib/docker/swarm 0 /var/lib/docker/plugins Edited August 21, 20178 yr by brando56894
August 25, 20178 yr Author On 8/20/2017 at 9:28 PM, brando56894 said: You have folders mapped incorrectly somewhere and data is being written to the docker image instead of to your array. You can try du -xh --max-depth=1 /var/lib/docker|sort -hr This is what I get. root@Maple1:~# du -xh --max-depth=1 /var/lib/docker|sort -hr 130M /var/lib/docker 108M /var/lib/docker/containers 21M /var/lib/docker/image 2.4M /var/lib/docker/unraid 92K /var/lib/docker/network 24K /var/lib/docker/volumes 0 /var/lib/docker/trust 0 /var/lib/docker/tmp 0 /var/lib/docker/swarm 0 /var/lib/docker/btrfs root@Maple1:~# du -h --max-depth=1 /var/lib/docker|sort -hr 78G /var/lib/docker/btrfs 78G /var/lib/docker 108M /var/lib/docker/containers 21M /var/lib/docker/image 2.4M /var/lib/docker/unraid 92K /var/lib/docker/network 24K /var/lib/docker/volumes 0 /var/lib/docker/trust 0 /var/lib/docker/tmp 0 /var/lib/docker/swarm Nothing seems to be taking up too much space. Edited August 25, 20178 yr by xxredxpandaxx
August 26, 20178 yr Author Well I didn't do anything to change it but now it shows 21 GB free which is about correct. Not sure what happened.
Archived
This topic is now archived and is closed to further replies.