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.

How to determine how much space Dockers are using in the .img file?

Featured Replies

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.

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.

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

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?

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...

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.

I'm surprised you didn't suggest CA...

 

That would be a good place - it is on the Dockers page!

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.

  • Author

Thanks everyone!

  • 3 years later...

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:

image.png.78b372ec82edd8d1e1ebc6e378c39b17.png

 

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 by casperse

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?) 

image.png.c5debf641f5ff8233122bdfbed8125e2.png

 

Thanks for the link so this would still be correct solution for this problem:

image.thumb.png.40d41f0f1eb91ca986aa2d760e6ac826.png

 

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

image.png.f887283537b307b5269983c6f315d05c.png

 

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 by casperse

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.