May 28, 20251 yr 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 BTRFSDespite 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!
May 28, 20251 yr Community Expert More than 20G might be OK depending on how many and which dockers. How large will it become?
May 28, 20251 yr 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?
May 28, 20251 yr 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 Edited May 28, 20251 yr by MowMdown
May 29, 20251 yr Community Expert That looks pretty normal. The one container Id probably keep an eye on is tdarr
May 29, 20251 yr Author 10 hours ago, MowMdown said:That looks pretty normal. The one container Id probably keep an eye on is tdarrI'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!
June 4, 20251 yr 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. Edited June 4, 20251 yr by csimpson
June 7, 20251 yr 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?
June 10, 20251 yr Author ☹️ Anyone? Up to 26.5 GB eaten up in the VDisk. Edited June 10, 20251 yr by csimpson
June 11, 20251 yr Author Screenshot attached for clear visual.root@fileserver:~# docker system df -vImages space usage:REPOSITORY TAG IMAGE ID CREATED SIZE SHARED SIZE UNIQUE SIZE CONTAINERSghcr.io/chrisbenincasa/tunarr edge-vaapi 590247034b66 2 days ago 1.76GB 0B 1.764GB 1lscr.io/linuxserver/duplicati latest 64b919942030 3 days ago 434MB 0B 433.9MB 1actualbudget/actual-server latest 54f198f32777 6 days ago 294MB 0B 293.7MB 1lscr.io/linuxserver/syncthing latest f0d75d746f60 8 days ago 52.7MB 0B 52.73MB 1ghcr.io/haveagitgat/tdarr latest f45a6e8ab8fe 9 days ago 3.29GB 2.572GB 719.2MB 1ghcr.io/haveagitgat/tdarr_node latest 412a85f9648e 9 days ago 2.9GB 2.572GB 327.9MB 1prom/prometheus latest 1db0f2fd4e18 10 days ago 304MB 0B 303.9MB 1plexinc/pms-docker latest 8793a81cfa04 2 weeks ago 354MB 0B 354.4MB 1grafana/grafana latest 008307cdce1d 2 weeks ago 680MB 0B 680.5MB 1binhex/arch-jellyfin latest ab84eed0272e 2 months ago 2.01GB 0B 2.009GB 1jbartlett777/diskspeed latest f33d31b14489 3 months ago 914MB 0B 913.7MB 1binhex/arch-krusader latest 3be659fd6834 5 months ago 3.27GB 0B 3.269GB 1ich777/luckybackup latest 82f65a78c3cf 5 months ago 1.29GB 0B 1.291GB 1vexorian/dizquetv latest-nvidia c895a9c438fb 7 months ago 1.54GB 0B 1.542GB 1Containers space usage:CONTAINER ID IMAGE COMMAND LOCAL VOLUMES SIZE CREATED STATUS NAMES38d88e435d65 ghcr.io/chrisbenincasa/tunarr:edge-vaapi "/tunarr/tunarr serv…" 0 2.44MB 38 hours ago Up 20 hours Tunarr6039dec6fc56 lscr.io/linuxserver/duplicati "/init" 0 21.8kB 38 hours ago Up 20 hours duplicati7c651a7c9aa4 lscr.io/linuxserver/syncthing "/init" 0 21.8kB 5 days ago Up 20 hours syncthing9fe257ee1000 actualbudget/actual-server "/usr/bin/tini -g --…" 0 643B 5 days ago Exited (1) 5 days ago ActualServerc50c841576c2 ghcr.io/haveagitgat/tdarr_node "/init" 0 260MB 8 days ago Up 20 hours tdarr_node6b5edc0eb531 ghcr.io/haveagitgat/tdarr "/init" 0 524MB 8 days ago Up 20 hours tdarrc09b296bb60d prom/prometheus "/bin/prometheus --c…" 1 0B 10 days ago Up 20 hours prometheusb3a0bfcb5a4e plexinc/pms-docker "/init" 0 85.8MB 13 days ago Up 20 hours (healthy) Plex-Media-Servere6ef18e151b9 grafana/grafana "/run.sh" 0 0B 2 weeks ago Up 20 hours Grafana79a69f4d8ddb vexorian/dizquetv:latest-nvidia "./dizquetv" 0 0B 3 weeks ago Up 20 hours dizquetv9d089d2e9f79 binhex/arch-krusader "/usr/bin/dumb-init …" 0 28.6MB 3 weeks ago Up 20 hours binhex-krusaderea1b30777566 binhex/arch-jellyfin "/usr/bin/dumb-init …" 0 133MB 3 weeks ago Up 20 hours binhex-jellyfina16ed70f9f69 ich777/luckybackup "/opt/scripts/start.…" 0 432kB 4 weeks ago Up 20 hours luckyBackup446012821b48 jbartlett777/diskspeed "catalina.sh run" 0 33.1MB 4 weeks ago Up 20 hours DiskSpeedLocal Volumes space usage:VOLUME NAME LINKS SIZE599e3d96f66128469496cb3a25287a5cc23c08a68957ed3d7b5e336417b22437 0 371MBb50713dce41760edd800a59c17c0b12269b01525da6d229c91559352d58337b5 1 266.3MBBuild cache usage: 0BCACHE ID CACHE TYPE SIZE CREATED LAST USED USAGE SHARED
June 13, 20251 yr Author Three days later... It's up to 27.2GB... almost 1 GB in a week, just getting chewed up in something.
June 26, 20251 yr 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?
June 26, 20251 yr 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.