Ned Posted August 4, 2015 Share Posted August 4, 2015 Is there an easy way to determine how much space each docker app is using within the .img file? I'm pretty sure that the three dockers I'm running are using nowhere near the 15G I've allocated for the .img file however it would be nice to know exactly where things stand. Quote Link to comment
SSD Posted August 4, 2015 Share Posted August 4, 2015 Run the command df --block-size=1000 Look for the row for /dev/loop0. It won't tell you space for each Docker, but will tell you how much space is being taken by all of you Docker files. Quote Link to comment
Squid Posted August 4, 2015 Share Posted August 4, 2015 Run the command df --block-size=1000 Look for the row for /dev/loop0. It won't tell you space for each Docker, but will tell you how much space is being taken by all of you Docker files. Or just go to the docker settings page and it will tell you right there in the middle of the screen Quote Link to comment
SSD Posted August 4, 2015 Share Posted August 4, 2015 Run the command df --block-size=1000 Look for the row for /dev/loop0. It won't tell you space for each Docker, but will tell you how much space is being taken by all of you Docker files. Or just go to the docker settings page and it will tell you right there in the middle of the screen A little cryptic - but you're right. Weird to have on Docker settings page. Maybe should be on the Docker page? Or even on the Dashboard as a drive? Quote Link to comment
Squid Posted August 4, 2015 Share Posted August 4, 2015 Run the command df --block-size=1000 Look for the row for /dev/loop0. It won't tell you space for each Docker, but will tell you how much space is being taken by all of you Docker files. Or just go to the docker settings page and it will tell you right there in the middle of the screen A little cryptic - but you're right. Weird to have on Docker settings page. Maybe should be on the Docker page? Or even on the Dashboard as a drive? I'm surprised you didn't suggest CA... Quote Link to comment
CHBMB Posted August 4, 2015 Share Posted August 4, 2015 Is there an easy way to determine how much space each docker app is using within the .img file? I'm pretty sure that the three dockers I'm running are using nowhere near the 15G I've allocated for the .img file however it would be nice to know exactly where things stand. There is a way, but I'll be damned if I can remember it at the moment. At work so got no access to machine, (haven't updated my VPN settings on phone) but I'll take a look when I get home. Quote Link to comment
SSD Posted August 4, 2015 Share Posted August 4, 2015 I'm surprised you didn't suggest CA... That would be a good place - it is on the Dockers page! Quote Link to comment
CHBMB Posted August 4, 2015 Share Posted August 4, 2015 Remembered, install the cAdvisor docker from CA and you get loads of information about your docker containers including size.. EDIT: cAdvisor is only 19Mb in my docker image so it's well worth installing. Quote Link to comment
casperse Posted March 18, 2019 Share Posted March 18, 2019 (edited) Hi All & @Squid I have not been running Unraid that long and I seem to be having the same issue, getting these warnings: Quote Docker high image disk utilization: 18-03-2019 12:54 Warning [TOWER] - Docker image disk utilization of 76% Docker utilization of image file /mnt/user/system/docker/docker.img I then go to the Docker page and check size and get: This doesn't look to bad? I already extended the docker image to : 40G But doing the command: root@TOWER:~# du -h -d 1 /var/lib/docker/ 524K /var/lib/docker/containerd 23G /var/lib/docker/containers 0 /var/lib/docker/plugins 39G /var/lib/docker/btrfs 17M /var/lib/docker/image 52K /var/lib/docker/volumes 0 /var/lib/docker/trust 104K /var/lib/docker/network 0 /var/lib/docker/swarm 16K /var/lib/docker/builder 56K /var/lib/docker/buildkit 0 /var/lib/docker/unraid 0 /var/lib/docker/tmp 0 /var/lib/docker/runtimes 61G /var/lib/docker/ What to do next? UPDATE: just went to 78% I can see that Plex is busy generating video and Thumb preview? 548K /var/lib/docker/containerd 24G /var/lib/docker/containers 0 /var/lib/docker/plugins 39G /var/lib/docker/btrfs 17M /var/lib/docker/image 52K /var/lib/docker/volumes 0 /var/lib/docker/trust 104K /var/lib/docker/network 0 /var/lib/docker/swarm 16K /var/lib/docker/builder 56K /var/lib/docker/buildkit 0 /var/lib/docker/unraid 0 /var/lib/docker/tmp 0 /var/lib/docker/runtimes 62G /var/lib/docker/ Edited March 18, 2019 by casperse Quote Link to comment
Squid Posted March 18, 2019 Share Posted March 18, 2019 23.5 gig Log File for Resilio? Do This: Quote Link to comment
casperse Posted March 18, 2019 Share Posted March 18, 2019 (edited) 2 hours ago, Squid said: 23.5 gig Log File for Resilio? Do This: I checked the settings and they are set to 100? (MB?) Thanks for the link so this would still be correct solution for this problem: And YES! I am back to normal - THANKS @Squid !!!! Docker image disk utilization: 18-03-2019 17:42 Notice [TOWER] - Docker image disk utilization returned to normal level Docker utilization of image file /mnt/user/system/docker/docker.img So adding this line to all Docker images as a standard would be a good thing to do?, since I cannot enable the docker log rotation without reinstalling all my dockers? I am running 6.7.0-rc5 UPDATE: Got execution error on the sync docker so I had to remove the Extra parameters, trying the second time and it is still running Edited March 18, 2019 by casperse Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.