When Docker stops on an Unraid server because the cache is full, the cure depends on what is actually full: the pool or docker.img. I would look before I delete anything, and this is the order I would do it in.
- Time
- 13 min
- Steps
- 8
- Updated
- 27 Nov 2026
You will learn
- How do I know if the cache pool or d…
- Which share is eating my cache?
- Are my downloads filling the cache b…
- Why is the Mover not emptying the ca…
- How do I stop the pool from filling…
Two different things get called “the cache is full” on Unraid, and they need different fixes. One is the cache pool itself running out of space. The other is docker.img, the virtual disk file where Docker keeps its images and containers, hitting its own size limit. The first can take the second down with it: the Unraid docs say a corrupted Docker image is often caused by the cache pool running out of space, or by an unclean shutdown. So when the Docker tab goes empty or the service refuses to start, I would not touch anything yet. I would find out which of the two is full first.
This guide walks through that in the order I would do it on my own server. It builds on three posts I already have, and I link them where they fit instead of repeating them: log rotation for Docker, finding what fills docker.img and using a directory instead of a vDisk. This one is the full route from the first red bar to a server that stays fine.
What you get and what you need
When you are done you know which of the two is full, which share or container caused it, and why the Mover did not clear it. You also have a minimum free space set so a big download cannot fill the pool again, and Docker is back, either as it was or recreated from your saved templates.
You need terminal access (the Unraid web terminal is fine) and a few minutes without something important running. The Settings paths below are those of recent Unraid 6.12 and 7 releases. The share options changed in 6.12: shares now have a primary and a secondary storage, with a Mover action between them, so older guides that talk about “Use cache: Prefer” use other words for the same idea. Check the version in the top right of the web GUI before you follow an old forum answer to the letter.
Step 1 of 8: How do I know if the cache pool or docker.img is full?
Start with the pool. This shows how full the filesystem that holds your cache is:

df -h /mnt/cacheReplace cache with the name of your pool if it is called something else. The Main tab shows the same numbers per pool. If it is at or near 100%, the pool is your problem, and probably the reason Docker stopped. If it has plenty of room, look at the image next.
The image has its own size. Go to Settings, Docker. The path and filename of the vDisk are listed there, together with its size, and the Dashboard shows how much of it is used. Per the Unraid docs the file lives in the system share by default and uses the BTRFS file system. A vDisk at 100% while the pool has space is a different story from a full pool, and the second half of this guide is about that case.
One quick thing that helps with both: on the pool, a small file that cannot be written is enough to make a container fall over. A full pool does not always look dramatic. A database that cannot write, a download that stalls and a container that keeps restarting are the usual first signs.
Step 2 of 8: Which share is eating my cache?
Ask the disk, not the web GUI. This lists the biggest top-level folders on the pool, one filesystem only, largest first:


du -xh --max-depth=1 /mnt/cache | sort -rh | head -15Every top-level folder is a share (or a leftover folder of a share that no longer exists). It takes a moment on a big pool. Look at the top three lines and ask yourself if it is what you expected. In my experience the usual suspects are a downloads share, appdata with one app that grew, and system because of docker.img or a libvirt image. A folder whose name matches no share you made is a hint that something created a path by mistake, for example a container that was told to write to /mnt/cache/whatever directly.
To go one level deeper in the culprit, repeat the command on that folder:
du -xh --max-depth=1 /mnt/cache/appdata | sort -rh | head -15Appdata is where the apps keep settings, databases and thumbnails. Some of them grow without end unless you set a limit: a media server’s metadata and image cache, a photo app’s thumbnails, a download client’s session files. If it is a cache you can rebuild, clearing it inside the app is better than deleting folders by hand.
Step 3 of 8: Are my downloads filling the cache before they move?
This one is the classic. A download client writes an incomplete file to the pool, and the Mover only moves finished files at its next run. A large season pack, or several of them at once, can fill the pool in an afternoon, long before the Mover runs at night.
I run qBittorrentVPN on my own Unraid server, and the thing I would check first on a full cache is where the client puts its incomplete downloads and its finished ones. If both go to the pool, a big queue fills it quickly. Two settings help. Give the incomplete folder a location that you can see and size, and limit how many torrents download at once. Do not guess about the paths: open the container settings and look at the path mappings, then compare them with the folders from the previous step.
The pool also has to stop accepting files at some point, rather than at 100%. That is what minimum free space does, and I come to it below, after the Mover.
Step 4 of 8: Why is the Mover not emptying the cache?
The Mover moves files between the primary and the secondary storage of a share, in the direction you set as the Mover action. That is the first thing to check, because it explains most surprises:

- A share with the pool as primary storage and no secondary storage never moves anything. Files stay on the pool. The docs call this using the pool exclusively. That is right for
appdataandsystemand wrong for a downloads share you expect to empty. - A share with the array as primary and the pool as secondary, with the Mover action pointing back to the pool, moves files the other way round.
- Files that are open are skipped. The docs tell you to turn off Docker and the VM manager before moving files for exactly that reason.
Open the share in the Shares tab and read the storage settings and the Mover action. Then look at the schedule at Settings, Scheduler, Mover Settings. If nothing seems to happen, enable Mover logging on that page. It logs each file that is moved and you read it in Tools, System Log. Run the Mover by hand from Main, Array Operation, Move to see it work. The docs add one more tip for files that look stuck: stop Docker and the VM manager first, then run the Mover. Be careful with that step. Stopping Docker stops all your containers, so do it when nobody is watching a film.
Also be honest about what the Mover cannot fix. If the pool is full of appdata and system files that are meant to stay there, the Mover will not touch them. Then the answer is a bigger pool, a smaller appdata, or moving something that does not need to be fast to the array.
Step 5 of 8: How do I stop the pool from filling up again?
Set a minimum free space on the pool. Click the pool name on the Main tab and open the Individual Pool Settings. The Unraid docs explain that the setting tells Unraid to stop writing to the pool when free space drops below it. For a share with the pool as primary storage and the array as secondary, new files then go straight to the array. The docs recommend at least the size of the largest file you expect, preferably double. If your biggest file is 30 GB, set 60 GB. They also warn not to set it to 0, which can cause disk full errors.

There are two catches. First, there is a separate minimum free space on each share, and Unraid respects whichever floor it meets first. Second, the pool setting is not applied to a share that uses the pool exclusively, with no secondary storage. For those shares there is no overflow, so a full pool stays a full pool. That is why I would keep the shares that write a lot, like downloads, on pool plus array, and keep only the small, fast data like appdata on the pool alone.
A bigger drive is the answer only when the data that has to live on the pool really is bigger than the pool. I would do the checks above first. In the Netherlands an NVMe drive is not expensive, but a drive does not fix a download folder that nobody empties.
Step 6 of 8: What do I do when docker.img itself is full?
If the pool has space but the vDisk is at or near 100%, something is writing inside the image. A container’s own data should live in appdata, outside the image. When a path is mapped wrongly, the app writes into the container’s filesystem, which is inside docker.img. The usual causes are a wrong or missing path mapping, logs without a limit, and leftover volumes.



Start with what Docker itself says about its space:
docker system df
docker ps -sThe first shows images, containers, volumes and build cache with sizes. The second adds a SIZE column per container: the first number is what the container wrote in its own layer, and the number in brackets is the virtual size including the image. A container that wrote several GB in its own layer is the one to open. I have a short tip on docker container ls –size that explains the column. To see leftovers, my earlier post on dangling volumes shows the tracing, including a forum case where a template mapped the wrong folder and every update left an anonymous volume behind.
For logs, look at where the container’s log is and how big it is:
docker inspect --format '{{.LogPath}}' <container>
ls -lh $(docker inspect --format '{{.LogPath}}' <container>)A log of hundreds of MB points to a container that is chatty, and the fix is a limit, which I describe in the log rotation guide. On Unraid you can add the options in the container’s Extra Parameters, or put them in the daemon configuration, depending on how you manage it. I would not repeat the steps here.
Do not run docker system prune --volumes or docker volume prune as a first move. A volume nobody uses can still hold the only copy of someone’s database, and removal is permanent. Inspect first.
Step 7 of 8: Should I make docker.img bigger, or something else?
Making the image bigger buys time, but it does not fix a container that writes in the wrong place. Do it only after you found out why it grew. The Unraid forum walkthrough for current releases goes like this: stop all containers, set Enable Docker to No in Settings, Docker, increase the vDisk size, apply, and enable Docker again. That is a forum answer and not a step from the official docs, so check it against the settings page of your version. Another forum poster reported that the dashboard still showed a high usage after a resize, so look at the numbers again before you assume it worked.

If you are tired of the size limit, there is another way. The Docker data-root can be a directory instead of a vDisk, and then there is no docker.img to fill up. I explain it, and the trade-offs, in the data-root tip. It does change what Docker stores where, so I would read that first, and I would not switch in the middle of a crisis.
When the image is corrupted, or Docker will not start after the pool was full, recreate it. The Unraid docs describe it as safe because a well-configured container keeps its variable data in appdata:
- Go to Settings, Docker and set Enable Docker to No. Apply.
- Choose to delete the Docker vDisk file and apply. You can also delete the file yourself.
- Check the location and filename of the new vDisk and set the size you want. The docs say the default is enough for most people.
- Set Enable Docker to Yes. Unraid creates and formats a new
docker.imgwith BTRFS. - Open Apps, Previous Apps, tick the containers and install them. Unraid applies your saved settings from the templates on the boot device.
I wrote about that last step in the Previous Apps tip. The word to underline is “well-configured”. If a container wrote important data inside the image instead of in a mapped folder, that data is gone with the file. That is another reason to find the culprit before you delete anything, and to copy out what you need from a container that you suspect.
Step 8 of 8: How do I check that it worked?
Do the first checks again, and keep an eye on them for a few days.
df -h /mnt/cache
docker system df
docker ps -sThe pool should have clear free space above the floor you set. In Settings, Docker the vDisk usage should be well below its limit and should not creep up after a day of normal use. After a day, start a big download on purpose and check that new files go to the array once the pool reaches the minimum free space. A single test like that tells you more than a settings page does.
The usual ways it breaks after a fix: a container created before you set the log limit keeps its old, unlimited logging until you recreate it; a share with the pool as its only storage still fills up, because the minimum free space does not apply there; and a container with a bad path mapping starts filling the image again right after you recreated it. If the numbers go up again within days, the cause is still there. Look at the container with the largest SIZE again before you resize anything.
One honest limit of this guide: I cannot tell you from here which of these causes is yours. Each one leaves a different trace, which is why the first steps are all about looking. When the pool and the image are both fine and Docker still does not start, the Unraid forum has threads with diagnostics, and the diagnostics file (Tools, Diagnostics) is what the moderators ask for first.
Further reading
- Unraid docs: Docker troubleshooting (re-creating the Docker image file)
- Unraid docs: Cache pools (minimum free space)
- Unraid docs: Shares (Mover, primary and secondary storage)
- Unraid docs: Docker overview
- Unraid forum: how do I increase the size of the docker image
- Stop Docker logs from filling your disk with log rotation
- Tip: find what is filling your Unraid docker.img
- Tip: Docker data-root can be a directory instead of a docker.img vDisk
