Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Docker Image Utilization

Featured Replies

Been driving myself a bit crazy trying to determine what is filling up my Docker.img - I've already increased the size of the image way more than I should have and am still struggling (91% of a 65GB image file). I've attached the results of the container size button on the docker tab, the results of running docker system df -v, and would much appreciate any help you could offer.

743224518_ScreenShot2019-11-19at7_11_06PM.thumb.png.60b0371366711798f945349dd33a11db.png266776983_ScreenShot2019-11-19at7_11_51PM.thumb.png.bb4e6ece7e54d4e72605dada87ab939f.png

In my search to determine the culprit here, I ran this command du -ah /var/lib/docker/containers/ | grep -v "/$" | sort -rh | head -60 which resulted in the following

 1004802464_ScreenShot2019-11-19at7_14_08PM.thumb.png.e4f4e4ff9934f6efc1b2597c00e2643a.png

I then ran find /var/lib/docker/containers/ -type f -name "*.log" -delete which seems to have deleted the 45G files from the above picture, but the docker image utilization hasn't changed. I'm pretty desperate for help at this point.

 

Edit: literally the moment I was about to submit this topic, the docker image utilization went to <15%. So less urgent, but curious about the following.

  • Was deleting the gigantic logs above the fix? How can I avoid these files growing so large in the future? Alternatively, any thoughts as to why this magically was fixed? The only other thing I did was turn off all my dockers (and turn them back on after utilization was under control)
  • I gather my docker image file is WAY to big, and could be problematic. What should I do here in order to preserve all my dockers/settings as is?

Edited by zbron
Just mistyped something

Can you post the output of

php /usr/local/emhttp/plugins/dynamix.docker.manager/include/GetContainerSize.php

Errors should not be happening on that first screenshot..

Edited by Squid

  • Author

Seems like the problem is not fixed as I had to go through the same process today109820407_ScreenShot2019-11-20at5_29_38PM.thumb.png.d6c9ba9a6933c3bac0bfec39b81665b0.pngSee above for results for the php command

  • Author

Forgot to be more specific in previous post, the exact same 45G file showed up in response to du -ah /var/lib/docker/containers/ | grep -v "/$" | sort -rh | head -60, so I followed up by using the same find /var/lib/docker/containers/ -type f -name "*.log" -delete that seemed to work (temporarily) yesterday. These two commands were run before I posted the output of the php command.

  • Author

Thank you, I'll add that to all my containers and report back if it doesn't work. Is there any way to tell from what I posted which docker was creating the gigantic log?

 

Assuming this does work, what's the easiest way to shrink the docker.img file down to a more reasonable 35GB or so? Or is it not worth it?

Edited by zbron

Just now, zbron said:

shrink the docker.img

The way you shrink is Settings - Docker, stop the service, then delete the image, then set a new size and re-enable the service.   

 

Followed by Apps, Previous Apps, check off what you want and hit install.

  • Author

Will this blow up everything/settings/etc.? Or will I simply need to make sure all dockers are configured the same way as before?

4 minutes ago, zbron said:

Will this blow up everything/settings/etc.?

No

4 minutes ago, zbron said:

Or will I simply need to make sure all dockers are configured the same way as before?

They will be, with no adjustments necessary

  • Author

Thank you Squid, really appreciate the help.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.