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 Keeps Growing — Even After Full Rebuild (Unraid + BTRFS)

Featured Replies

Over the past 10 days, my docker.img has grown from 18.1GB to 21.2GB — ~3GB of growth — despite rebuilding everything from scratch. Here’s what I’ve done:

Deleted and recreated docker.img
Reinstalled all containers
Verified all major containers (Plex, Tdarr, Tunarr, etc.) are using mounted volumes properly (e.g., /transcodeRam)
Ran docker system prune, docker ps -s, and docker system df
Checked /var/lib/docker/* — found that /var/lib/docker/btrfs is 134GB, which seems suspicious
Confirmed I’m using BTRFS on my cache pool
Logging container sizes — nothing shows more than a few hundred MB growth
Overlay2 is not used — Unraid defaults to BTRFS

Despite all that, the docker image is slowly inflating. Most people say docker.img should never go above 20GB — yet mine creeps upward even with minimal changes and after a full reset.

Question:

Is this a known issue with BTRFS + loopback vdisks in Unraid?
Would switching to a folder-based Docker install (instead of a loopback image) fix this permanently?
Is anyone else seeing this kind of docker.img bloat over time?

Looking for advice from Unraid pros who’ve solved this long term. Thanks!

Screenshot 2025-05-18 at 11.11.01 AM.png

Screenshot 2025-05-28 at 8.01.52 AM.png

  • Community Expert

More than 20G might be OK depending on how many and which dockers. How large will it become?

  • Author
17 minutes ago, trurl said:

More than 20G might be OK depending on how many and which dockers. How large will it become?

It got up to over 60GB in the last year. I just kept expanding the size of the docker and didn't realize that it wasn't supposed to keep growing. I thought that maybe it was Plex cache or poster images or something that was causing it to grow so was okay with it, until I started investigating and realized it's not right, somewhere?

  • Community Expert

There's a button on the container page to calculate the size of the image and which container is eating the space.

post the results like this

image.png

Edited by MowMdown

  • Author

Ahh, here's the image of the sizes.

Screenshot 2025-05-28 at 12.39.16 PM.png

  • Community Expert

That looks pretty normal. The one container Id probably keep an eye on is tdarr

  • Author
10 hours ago, MowMdown said:

That looks pretty normal. The one container Id probably keep an eye on is tdarr

I'll keep an eye on it. I suspect that each month it'll grow about 3-5GB for some reason. Will post back here in that time if it persists. Hopefully not!

  • Author

Okay, so it's been about 6 days... The Docker vdisk has gone from a clean install of 18.1GB about 2 1/2 weeks ago to 21.2GB a week ago and is now at 24.4GB. It will continue to keep growing... Last year it grew to almost 60GB and I just kept resizing it before learning this isn't intended behaviour.

Screenshot 2025-06-04 at 6.48.23 AM.png

Screenshot 2025-06-04 at 6.48.44 AM.png

Edited by csimpson

  • Author

Any ideas anyone how I can find what's chewing up the vdisk space? ChatGPT says that BTRFS is being used, which has known issues with metadata bloat in loopback images and that I'm not doing anything wrong — this is a real systemic issue, not misconfiguration with Unraid.

But I can't imagine that Unraid users would tolerate this "just being the way it is" with an every growing VDisk?

  • Author

☹️ Anyone? Up to 26.5 GB eaten up in the VDisk.Screenshot 2025-06-10 at 5.53.58 PM.png

Edited by csimpson

  • Community Expert

post the output of docker system df -v

  • Author

Screenshot attached for clear visual.

root@fileserver:~# docker system df -v

Images space usage:

REPOSITORY TAG IMAGE ID CREATED SIZE SHARED SIZE UNIQUE SIZE CONTAINERS

ghcr.io/chrisbenincasa/tunarr edge-vaapi 590247034b66 2 days ago 1.76GB 0B 1.764GB 1

lscr.io/linuxserver/duplicati latest 64b919942030 3 days ago 434MB 0B 433.9MB 1

actualbudget/actual-server latest 54f198f32777 6 days ago 294MB 0B 293.7MB 1

lscr.io/linuxserver/syncthing latest f0d75d746f60 8 days ago 52.7MB 0B 52.73MB 1

ghcr.io/haveagitgat/tdarr latest f45a6e8ab8fe 9 days ago 3.29GB 2.572GB 719.2MB 1

ghcr.io/haveagitgat/tdarr_node latest 412a85f9648e 9 days ago 2.9GB 2.572GB 327.9MB 1

prom/prometheus latest 1db0f2fd4e18 10 days ago 304MB 0B 303.9MB 1

plexinc/pms-docker latest 8793a81cfa04 2 weeks ago 354MB 0B 354.4MB 1

grafana/grafana latest 008307cdce1d 2 weeks ago 680MB 0B 680.5MB 1

binhex/arch-jellyfin latest ab84eed0272e 2 months ago 2.01GB 0B 2.009GB 1

jbartlett777/diskspeed latest f33d31b14489 3 months ago 914MB 0B 913.7MB 1

binhex/arch-krusader latest 3be659fd6834 5 months ago 3.27GB 0B 3.269GB 1

ich777/luckybackup latest 82f65a78c3cf 5 months ago 1.29GB 0B 1.291GB 1

vexorian/dizquetv latest-nvidia c895a9c438fb 7 months ago 1.54GB 0B 1.542GB 1

Containers space usage:

CONTAINER ID IMAGE COMMAND LOCAL VOLUMES SIZE CREATED STATUS NAMES

38d88e435d65 ghcr.io/chrisbenincasa/tunarr:edge-vaapi "/tunarr/tunarr serv…" 0 2.44MB 38 hours ago Up 20 hours Tunarr

6039dec6fc56 lscr.io/linuxserver/duplicati "/init" 0 21.8kB 38 hours ago Up 20 hours duplicati

7c651a7c9aa4 lscr.io/linuxserver/syncthing "/init" 0 21.8kB 5 days ago Up 20 hours syncthing

9fe257ee1000 actualbudget/actual-server "/usr/bin/tini -g --…" 0 643B 5 days ago Exited (1) 5 days ago ActualServer

c50c841576c2 ghcr.io/haveagitgat/tdarr_node "/init" 0 260MB 8 days ago Up 20 hours tdarr_node

6b5edc0eb531 ghcr.io/haveagitgat/tdarr "/init" 0 524MB 8 days ago Up 20 hours tdarr

c09b296bb60d prom/prometheus "/bin/prometheus --c…" 1 0B 10 days ago Up 20 hours prometheus

b3a0bfcb5a4e plexinc/pms-docker "/init" 0 85.8MB 13 days ago Up 20 hours (healthy) Plex-Media-Server

e6ef18e151b9 grafana/grafana "/run.sh" 0 0B 2 weeks ago Up 20 hours Grafana

79a69f4d8ddb vexorian/dizquetv:latest-nvidia "./dizquetv" 0 0B 3 weeks ago Up 20 hours dizquetv

9d089d2e9f79 binhex/arch-krusader "/usr/bin/dumb-init …" 0 28.6MB 3 weeks ago Up 20 hours binhex-krusader

ea1b30777566 binhex/arch-jellyfin "/usr/bin/dumb-init …" 0 133MB 3 weeks ago Up 20 hours binhex-jellyfin

a16ed70f9f69 ich777/luckybackup "/opt/scripts/start.…" 0 432kB 4 weeks ago Up 20 hours luckyBackup

446012821b48 jbartlett777/diskspeed "catalina.sh run" 0 33.1MB 4 weeks ago Up 20 hours DiskSpeed

Local Volumes space usage:

VOLUME NAME LINKS SIZE

599e3d96f66128469496cb3a25287a5cc23c08a68957ed3d7b5e336417b22437 0 371MB

b50713dce41760edd800a59c17c0b12269b01525da6d229c91559352d58337b5 1 266.3MB

Build cache usage: 0B

CACHE ID CACHE TYPE SIZE CREATED LAST USED USAGE SHARED

Screenshot 2025-06-10 at 10.08.41 PM.png

  • Author

Three days later... It's up to 27.2GB... almost 1 GB in a week, just getting chewed up in something.Screenshot 2025-06-13 at 3.03.16 PM.png

  • 2 weeks later...
  • Author

Okay, so I figured something out. It's was either tdarr or tdarr_node. I've disabled both of them, and the size of the docker vdisk is no longer growing. I have no clue why it was as I don't use it, but set up it "just in case"

But not sure why it was getting so bloated over time?

Any ideas?

  • Community Expert
16 minutes ago, csimpson said:

Okay, so I figured something out. It's was either tdarr or tdarr_node. I've disabled both of them, and the size of the docker vdisk is no longer growing. I have no clue why it was as I don't use it, but set up it "just in case"

But not sure why it was getting so bloated over time?

Any ideas?

Since you seem to have documented the problem container I would suggest you post the volume mappings you have for it.

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.