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 directory is 505GB

Featured Replies

Hey there,

I changed my docker.img to a directory in the unraid settings. Now the directory is 505GB big.

I kind of expect a bigger docker dir maybe like 100GB or even 200GB but not 505GB.

While i had the docker image i limited the size to 100GB and it was maxed out at 75%.

 

I already recreated the docker directory once but it is still the same.

The btrfs folder in my docker folder has 504GB.

 

Does anyone know how debug this?

 

  • Community Expert

https://forums.unraid.net/topic/57181-docker-faq/?do=findComment&comment=564326

I recently experienced this as well not only are the logs taking up a lot of space as the configs internal didn't truncate them as they should. I have experienced that there is a flaw in the btrfs docker image.

My solution was to delete my docker vdsk.img file and recreate the docker via xfs image. Increase what was a 20 GB btrfs to 100 GB. Directory opens up the system more than I wanted it to be exposed.

XFS seems to still be working with log rotations. If you delete you docker image you dockers will be "uninstalled." ISH

You can always use add container and select the template and apply to bring them back. No data loss. Just how unraid/host handles docker images is changed.

I recommend installing the user script plugin and running the 2 default scrips:

image.png.a20585761cc7bfcb15ec8e28f6ba11da.png

 


See also:
https://forums.unraid.net/topic/57479-docker-high-image-disk-utilization-why-is-my-docker-imagedisk-getting-full/
and

 

 

Edited by bmartino1

  • Author

I actually just use docker compose instead of the unraid-way.  I did a docker prune already for all volumes and unused images. I do not think it is excessie logging.

  • Community Expert
On 5/11/2024 at 10:27 AM, nexiz said:

I actually just use docker compose instead of the unraid-way.  I did a docker prune already for all volumes and unused images. I do not think it is excessie logging.

Can you give us a list of dockers you may be using? even with compose, the temp docker data path is being filled by something. temp data would go into the image.

  • 1 month later...
  • Author

I am using ~65 containers. But I think it is a bug with the du command. I looked at the dir with qdirstat container and it is smaller here

65 - wow. that some setup. I wonder if a brtfs image of that size isnt better of just with a dedicated btrfs ssd/nvme

 

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.

Guest
Reply to this topic...

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.