When Docker’s disk fills up, builds fail and containers won’t start. Every error ends in the same phrase: no space left on device. The fix is almost never “run docker system prune -a --volumes and hope.” Measure first. Find out whether images, build cache, volumes, or container logs are eating the disk. Then run the narrowest cleanup command for that category.
docker system df splits usage into images, containers, local volumes, and build cache, and shows what’s reclaimable. Docker doesn’t clean up unused objects on its own. Its pruning documentation calls that conservative approach deliberate, so usage grows until you prune. On build hosts and CI runners, build cache is often the biggest reclaimable item.
On long-running homelab servers, oversized container logs are common. These logs aren’t part of the images, containers, volumes, and build-cache categories docker system df reports, so check log file sizes directly and consult your logging driver’s documentation for how it accounts for storage.
Prerequisites
- A Linux host running Docker Engine as a service (
dockerdunder systemd), such as Ubuntu or Debian - Root or
sudoaccess - An SSH session that still works. If the root filesystem is at 100%, even shell history writes can fail, so keep one session open while you work.
- Ideally, a recent backup of any volume data you care about before you touch volume pruning
Out of scope: Docker Desktop on macOS, Windows, or Linux. Desktop runs Docker inside a VM and stores everything in a single disk-image file instead of a Linux data-root directory. The Docker Desktop for Linux FAQ covers how that disk image is managed. The commands below target Docker Engine on a Linux host.
Environment Notes
The command syntax and prune behavior below come from Docker’s official documentation. Treat the specifics as a snapshot rather than a permanent reference, since Docker updates its docs and defaults regularly.
Prune flags have changed across Engine and Buildx releases, especially for volume pruning and build-cache size limits. Run docker version to note your version, and check --help on any prune command before you rely on a specific flag.
Quick Diagnosis: Measure Before You Delete
Run these four checks in order before you prune anything. They take about a minute and tell you which section of this guide to use.
Step 1: Confirm the full filesystem is actually Docker’s
# Find where Docker stores its data on this host
docker info --format '{{ .DockerRootDir }}'
On a standard Linux install this usually prints /var/lib/docker. Some admins move it, so use whatever path your host reports. Then check that filesystem:
# -h prints human-readable sizes; replace the path with your DockerRootDir
df -h /var/lib/docker
# -i shows inode usage; a filesystem can be "full" on inodes with free bytes left
df -i /var/lib/docker
If Use% is near 100% on the filesystem holding the data-root, Docker is a likely suspect. If the full filesystem is something else (say, /home on a separate partition), Docker cleanup won’t help.
Step 2: Get Docker’s own breakdown with docker system df
docker system df
Expected output shape (your numbers will differ):
TYPE TOTAL ACTIVE SIZE RECLAIMABLE
Images <n> <n> <size> <size> (<pct>%)
Containers <n> <n> <size> <size> (<pct>%)
Local Volumes <n> <n> <size> <size> (<pct>%)
Build Cache <n> <n> <size> <size>
Read it like this:
- RECLAIMABLE is space Docker considers unused, such as images with no container or cache not in use. It’s the most pruning can recover for that row.
- ACTIVE counts objects in use. Pruning never removes those.
- If the rows add up to far less than what
df -hreports, the space is probably in container logs (see the log issue below) or outside Docker.
Step 3: Drill down with docker system df -v
# -v (verbose) lists every image, container, volume, and cache record individually
docker system df -v
Two columns matter in the image table:
- SHARED SIZE: layers used by more than one image. Deleting one image won’t free these.
- UNIQUE SIZE: what you actually get back by removing that single image.
In the volumes section, look at the LINKS column. A volume with 0 links has no container attached, though its data can still matter.
Step 4: Check container log files
If your containers use the default json-file logging driver, docker system df‘s categories don’t include those log files, so check them directly. Set the data-root you found in Step 1 first:
# Use the DockerRootDir reported in Step 1
ROOT="$(docker info --format '{{ .DockerRootDir }}')"
# List the 10 largest json-file container logs under the data-root
sudo find "$ROOT/containers" -name '*-json.log' -exec du -h {} + | sort -rh | head -n 10
To list only json-file logs larger than 100 MB:
sudo find "$ROOT/containers" -name '*-json.log' -size +100M -exec ls -lh {} \;
If docker info --format '{{ .LoggingDriver }}' reports a driver other than json-file (such as journald or local), logs live elsewhere or in a different format; check that driver’s documentation instead.
The directory name in each path is the full container ID. Map it to a container name with:
docker ps -a --no-trunc --format '{{.ID}} {{.Names}}'
Never delete or edit anything under
/var/lib/docker/overlay2by hand. Those directories are image and container layers that Docker tracks in its own metadata. Removing them manually can break images and containers in ways pruning can’t repair. Every fix here goes through the Docker CLI or daemon configuration.
Symptoms and Fixes at a Glance
| Symptom | Likely Cause | Quick Fix |
|---|---|---|
Build Cache row is the largest in docker system df | BuildKit cache from repeated docker build runs | docker builder prune (scoped with --filter) |
| Many images, low ACTIVE count | Old tags and pulled images no container uses | docker image prune -a |
Large Containers reclaimable size | Stopped containers keep their writable layers | docker container prune |
df -h far higher than docker system df totals | Unbounded json-file container logs | Set log-opts, recreate the container |
Local Volumes large, but system prune freed nothing | Volumes excluded from system prune by default | Verify ownership, then docker volume prune |
Build cache still huge after builder prune | Separate Buildx builder with its own cache | docker buildx ls, prune per builder |
| Still near-full after pruning everything safe | Disk undersized for the workload | Plan a data-root relocation |
Common Issues and Solutions
Problem: Build cache is consuming most of the disk
Symptoms:
Build Cacheis the largest SIZE row indocker system df- The host runs
docker buildoften, as a CI runner, build server, or dev box docker buildfails partway withno space left on device
Why it happens: BuildKit keeps intermediate layers and cache mounts so later builds can skip work. Every changed COPY, dependency bump, or new base image adds cache records. Docker’s build cache garbage collection docs say BuildKit has automatic garbage collection with configurable limits. Still, a busy build host can grow cache faster than those limits trim it. On many build hosts, the cache ends up as the largest reclaimable category.
Fix:
Start with the narrowest option. Remove only cache that hasn’t been used recently.
# --filter until=24h removes cache records older than 24 hours
docker builder prune --filter until=24h
If that isn’t enough, cap the cache instead of wiping it:
# --keep-storage keeps up to the given amount of cache and removes the rest
docker builder prune --keep-storage 10GB
The 10GB above is an example value; pick one that fits your disk. --keep-storage is the long-standing docker builder prune flag. Newer Buildx releases document --max-used-space, --reserved-space, and --min-free-space for docker buildx prune instead, and the result depends on how much cache your builder actually holds. Run docker builder prune --help (or docker buildx prune --help) to see what your version supports.
To remove all build cache, including cache Docker would normally keep:
# -a / --all removes all unused build cache, not just dangling records
docker builder prune -a
What it never deletes: images, containers, volumes, or networks. Your next build will be slower because it has to rebuild layers, but nothing is lost. See the docker builder prune reference for the full flag list.
Verify:
docker system df
The Build Cache row should show a much smaller SIZE.
Tip: For long-term control, set BuildKit’s garbage collection limits in
/etc/docker/daemon.jsoninstead of pruning by hand. The garbage collection page documents the current configuration keys, which have changed between releases. Copy the keys from there, not from an old blog post.
Problem: Build cache is still huge after docker builder prune
Symptoms:
docker builder prune -areports little or no reclaimed spacedocker buildx duordocker system df -vstill shows large cache- You’ve created extra builders with
docker buildx create
Why it happens: Each Buildx builder keeps its own cache. Builders using the docker-container driver store their cache inside that builder’s container and volume. That’s separate from the default builder’s store. Pruning one builder doesn’t touch another builder’s cache.
Fix:
List your builders:
docker buildx ls
The NAME/NODE column shows each builder. An asterisk marks the current default. Prune a specific builder:
# --builder selects which builder's cache to prune
docker buildx prune --builder mybuilder --filter until=24h
Replace mybuilder with a name from docker buildx ls. Check docker buildx prune --help on your version to confirm the flag. If you no longer need a builder at all, docker buildx rm mybuilder removes it along with its state.
Verify: Run docker buildx du --builder mybuilder and confirm the total dropped.
Problem: Old images are filling the disk
Symptoms:
Imagesshows a high TOTAL and a low ACTIVE countdocker imageslists many old tags, or<none>repository entries- Large RECLAIMABLE percentage on the Images row
Why it happens: Every docker pull of a new tag and every rebuild leaves the previous image behind. When a tag moves to a newer build, the old image becomes dangling (untagged, shown as <none>:<none>).
Fix:
Remove dangling images first. It’s the lowest-risk image cleanup:
# Removes only dangling (untagged and unreferenced) images
docker image prune
Expected confirmation prompt:
WARNING! This will remove all dangling images.
Are you sure you want to continue? [y/N]
Then, if you need more space:
# -a removes ALL images not used by any container, tagged or not
docker image prune -a
Warning:
docker image prune -aremoves every image that no existing container references. That includes images you pulled on purpose but aren’t running right now. You can pull or rebuild them. But if a registry is down or an image was only built locally, you’ll need it back from somewhere. Rundocker imagesfirst and note anything built locally that you can’t easily recreate.
To prune only older images, use a time filter:
# Only remove unused images created more than 7 days (168 hours) ago
docker image prune -a --filter "until=168h"
What it never deletes: an image that any container, running or stopped, still references. See the pruning guide.
Verify: docker system df should show the Images reclaimable figure near zero.
Problem: An image won’t delete, or image prune -a skipped it
Symptoms:
docker rmifails with a conflict error naming a container- The image still appears in
docker imagesafterdocker image prune -a
Why it happens: A container still references the image, even if that container stopped months ago. Docker protects images that existing containers depend on.
Fix:
Find the containers using the image:
# ancestor= matches containers created from this image (name:tag or ID)
docker ps -a --filter ancestor=myimage:tag
If those containers are disposable, remove them:
docker rm CONTAINER_NAME_OR_ID
Then re-run docker image prune -a.
Verify: docker images no longer lists the image.
Problem: Stopping containers didn’t free any space
Symptoms:
docker psshows few containers, butdocker ps -ashows many- The
Containersrow indocker system dfhas a large RECLAIMABLE value
Why it happens: A stopped container keeps its writable layer, its logs, and its metadata on disk until you remove it. Stopping only halts the process. Removal frees the space.
Fix:
Review what’s stopped:
# -a includes stopped containers; --filter status=exited shows only stopped ones
docker ps -a --filter status=exited
Remove all stopped containers:
docker container prune
Warning: Any file written inside a stopped container’s filesystem (outside a volume or bind mount) is deleted with the container. If someone stored something important inside a container instead of a volume, copy it out first with
docker cp.
What it never deletes: running containers, images, or volumes.
Verify: docker ps -a --filter status=exited returns no rows, and the Containers row shrinks in docker system df.
Problem: Container logs are filling the disk
Symptoms:
df -hshows far more used space thandocker system dfaccounts for- One or more
*-json.logfiles under/var/lib/docker/containers/are many gigabytes - A chatty service (debug logging, an access-log-heavy proxy, a crash loop) has run for a long time
Why it happens: With the json-file logging driver, Docker writes each container’s stdout and stderr to a file on the host. Without max-size and max-file set, that file isn’t rotated. Docker’s json-file logging driver documentation lists the current defaults for your version, so check it rather than guess.
Fix:
1. Check what logging config your containers actually use:
# Daemon-wide default logging driver
docker info --format '{{ .LoggingDriver }}'
# Per-container log config (driver and options)
docker inspect --format '{{ .HostConfig.LogConfig }}' CONTAINER_NAME
If the second command shows an empty options map for json-file, that container has no rotation limits set.
2. Set rotation defaults in /etc/docker/daemon.json:
// /etc/docker/daemon.json
{
"log-driver": "json-file",
"log-opts": {
"max-size": "10m",
"max-file": "3"
}
}
Remove the comment line before saving, because JSON doesn’t allow comments. max-size is the size at which a log file rotates. max-file is how many rotated files to keep. 10m and 3 are example values, and they aren’t Docker defaults. If the file already exists, merge these keys into it instead of overwriting it. Also, log-opts values must be strings (quoted).
3. Validate the file and restart the daemon:
# Catches JSON syntax errors before they stop dockerd from starting
python3 -m json.tool /etc/docker/daemon.json
sudo systemctl restart docker
Warning: Restarting
dockerdstops and restarts running containers unless you’ve enabled live restore. Do this in a maintenance window on production hosts. Ifdaemon.jsonhas a syntax error, the daemon won’t start at all. That’s why the validation step comes first.
4. Recreate the offending containers. This is the part people miss: the new log settings apply only to containers created after the change. docker restart isn’t enough, because the container keeps the log config it was created with. Recreate it:
# For Compose-managed services, from the directory with your compose file
docker compose up -d --force-recreate SERVICE_NAME
For a plain docker run container, docker rm -f it and run it again with the same arguments. Removing the container also deletes its oversized log file, so the space comes back right away.
Verify:
docker inspect --format '{{ .HostConfig.LogConfig }}' CONTAINER_NAME
The output should now include your max-size and max-file values.
Tip: You can also set
logging:options per service in a Compose file. That overrides the daemon default for that service only.
Problem: docker system prune didn’t free volume space
Symptoms:
- You ran
docker system prune(or-a) and theLocal Volumesrow didn’t change - You expected old database or app volumes to disappear
Why it happens: This is deliberate. docker system prune skips volumes unless you pass --volumes, because volumes hold persistent data. Per the system prune reference, it removes stopped containers, unused networks, dangling images (or all unused images with -a), and unused build cache.
Even with --volumes added, current Docker documentation specifies that only unused anonymous volumes are removed. Unused named volumes are left in place unless you separately run docker volume prune --all (see the next section).
This is the actual prompt from docker system prune:
WARNING! This will remove:
- all stopped containers
- all networks not used by at least one container
- all dangling images
- unused build cache
Are you sure you want to continue? [y/N]
Fix: Treat volumes as their own step. See the next issue.
Problem: Unused volumes, including named ones, are still on disk
Symptoms:
docker volume lsshows volumes from projects you deleted long agodocker volume pruneorsystem prune --volumesremoved only some of them- Named volumes such as
oldproject_db_datasurvive pruning
Why it happens: On current Engine releases, docker volume prune and docker system prune --volumes remove only anonymous volumes not attached to any container by default. Named volumes need an explicit broader flag (-a / --all on docker volume prune). Run docker volume prune --help to confirm your version supports it.
Data-loss warning: Volume pruning permanently deletes data. There’s no undo and no recycle bin. A volume with zero attached containers can still hold the only copy of a database whose container you removed while “cleaning up.” Verify who owns every volume before pruning, and back up anything you’re unsure about.
Fix:
1. List unattached volumes:
# dangling=true lists volumes not referenced by any container
docker volume ls -f dangling=true
2. Check each volume’s ownership and contents:
# Shows labels (Compose adds com.docker.compose.project), creation time, and mountpoint
docker volume inspect VOLUME_NAME
# Confirms no container, running or stopped, references it
docker ps -a --filter volume=VOLUME_NAME
# Shows how much data it actually holds
sudo du -sh "$(docker volume inspect --format '{{ .Mountpoint }}' VOLUME_NAME)"
3. Remove volumes deliberately. For a handful of confirmed-dead volumes, removing them by name is the safest option:
docker volume rm VOLUME_NAME
To prune anonymous unused volumes:
docker volume prune
Only after you’ve reviewed every unused named volume:
# -a extends pruning to unused NAMED volumes. Destructive and irreversible.
docker volume prune -a
What it never deletes: volumes attached to any container, running or stopped, and bind-mounted host directories.
Verify: docker volume ls and the Local Volumes row in docker system df reflect the removal.
Problem: Still out of space after pruning everything safe
Symptoms:
docker system dfshows little or nothing reclaimabledf -hstill shows the data-root filesystem near full- Usage climbs back within days
Why it happens: What’s left is in use: images your running containers need, active volumes, and overlay2 layers for running containers. Or the disk is simply too small for the workload.
Fix:
- Re-run
docker system df -vand confirm the remaining usage belongs to things you’re actually running. - Re-check logs (Step 4 of Quick Diagnosis). They’re the most common hidden consumer.
- Don’t delete anything under
/var/lib/docker/overlay2manually, no matter how large it looks. Large overlay2 usage is normal when containers are running. - If the host is genuinely undersized, plan a data-root relocation to a bigger disk (see Configuration Issues below) or add storage. Schedule it as maintenance; don’t attempt it mid-incident.
Error Messages Quick Reference
| Error Message (or fragment) | What It Means | Fix |
|---|---|---|
no space left on device (during docker build) | Data-root filesystem is full, often from build cache | Check docker system df; docker builder prune --filter until=24h |
failed to register layer: ... no space left on device | Not enough room to extract a pulled image | Free space with image/cache prune, then re-pull |
write /var/lib/docker/...: no space left on device | Daemon can’t write layers, metadata, or logs | Diagnose with df -h, df -i, and the log-size check |
conflict: unable to delete ... image is being used by stopped container ... | A stopped container still references the image | docker ps -a --filter ancestor=IMAGE, remove it, retry |
remove VOLUME: volume is in use | A container (possibly stopped) references the volume | docker ps -a --filter volume=VOLUME; remove container only if it’s disposable |
Total reclaimed space: 0B | Nothing in that category was unused | Wrong category; re-check docker system df -v |
dockerd fails to start after editing daemon.json | Invalid JSON or an unknown key | python3 -m json.tool /etc/docker/daemon.json; check journalctl -u docker |
Prune Scope Cheat Sheet
| Command | Removes | Never Removes |
|---|---|---|
docker container prune | Stopped containers and their writable layers | Running containers, images, volumes |
docker image prune | Dangling images | Tagged images, images used by any container |
docker image prune -a | All images not used by any container | Images referenced by running or stopped containers |
docker builder prune | Unused build cache for the default builder | Images, containers, volumes; other builders’ cache |
docker buildx prune --builder NAME | Build cache for the named builder | Other builders’ cache, images, volumes |
docker volume prune | Unused anonymous volumes | Volumes attached to any container; named volumes (without -a) |
docker volume prune -a | All unused volumes, named included | Volumes attached to any container |
docker system prune | Stopped containers, unused networks, dangling images, unused build cache | Volumes, tagged images in use |
docker system prune -a --volumes | All of the above, plus all unused images and unused anonymous volumes | Running containers and their images, named volumes |
Is docker system prune -a --volumes safe? It won’t touch running containers, and on current releases it removes only anonymous volumes. But it wipes every unused image, all build cache, and every stopped container in one shot. One y keystroke does all of it. That’s a reasonable choice on a throwaway CI runner. On a homelab or production host, it’s a blunt instrument that skips the review step this guide is built around. Use the per-category commands instead.
Platform-Specific Notes
On Linux with Docker Engine
Everything above applies. Docker’s storage lives under the path reported by docker info --format '{{ .DockerRootDir }}'. You manage it with CLI prune commands and /etc/docker/daemon.json.
On Docker Desktop (including Docker Desktop for Linux)
Docker Desktop runs the Engine inside a VM and stores images, containers, and volumes in a single disk-image file. The prune commands still work inside that VM. But freeing space inside the VM doesn’t map one-to-one to free space on your host filesystem. You manage the disk image itself through Desktop’s settings. See the Docker Desktop for Linux FAQ for how it works. If you’re running Desktop on a Linux server, the Engine packages are usually the better fit.
Configuration Issues
Mistake: Expecting docker restart to apply new log limits
Wrong: Edit daemon.json, restart dockerd, run docker restart myapp, and expect logs to rotate.
Right: Recreate the container (docker compose up -d --force-recreate, or docker rm plus docker run). Log options are fixed when a container is created.
Mistake: Unquoted log-opts values
Wrong:
{
"log-opts": {
"max-file": 3
}
}
Right:
{
"log-opts": {
"max-file": "3"
}
}
log-opts values must be strings. A bare number can stop the daemon from starting.
Mistake: Treating data-root relocation as an emergency fix
Moving Docker’s storage to a larger disk fixes chronic undersizing, but it’s planned maintenance. You have to stop dockerd and every container. Then you copy the full data directory with ownership and permissions intact, and point data-root at the new location. Doing this on a 100%-full disk in the middle of an outage is how people end up with half-copied layer stores.
A typical outline looks like this. Check Docker’s daemon configuration docs for your version before running it.
# 1. Stop Docker (this stops all containers)
sudo systemctl stop docker docker.socket
# 2. Copy data with ownership, permissions, hard links, ACLs, and xattrs preserved
# -a archive mode, -H hard links, -A ACLs, -X extended attributes
sudo rsync -aHAX /var/lib/docker/ /mnt/bigdisk/docker/
// /etc/docker/daemon.json — merge into existing keys, remove this comment
{
"data-root": "/mnt/bigdisk/docker"
}
# 3. Start Docker and confirm the new path
sudo systemctl start docker
docker info --format '{{ .DockerRootDir }}'
Keep the old directory until you’ve confirmed that containers, images, and volumes all work from the new path. A fast NVMe SSD or a dedicated SATA SSD is a sensible target, since image extraction and builds are I/O-heavy. Don’t put the data-root on a network share or NAS drive. Overlay2 needs a local filesystem that supports it.
Getting Help
If you’re still stuck, collect this information before asking for help:
docker version
docker info
docker system df -v
df -h
df -i
sudo journalctl -u docker --since "1 hour ago" --no-pager
- Daemon logs:
journalctl -u dockeron systemd hosts - Container logs on disk:
/var/lib/docker/containers/CONTAINER_ID/CONTAINER_ID-json.log(or under your custom data-root) - Official docs: Prune unused Docker objects, docker system prune, docker builder prune, Build cache garbage collection
- Community: the Docker Community Forums and the
moby/mobyGitHub issue tracker for Engine bugs
Redact registry credentials and environment variables from docker info or inspect output before posting it publicly.
Prevention Tips
- Set log rotation on day one. Add
log-optstodaemon.jsonwhen you build a host, before the first outage. It only covers containers created after the change, so earlier is better. - Schedule scoped pruning, not blanket pruning. A weekly cron or systemd timer running
docker builder prune -f --filter until=168handdocker image prune -fcovers most build-host growth without going near volumes. (-fskips the confirmation prompt, so only use it with commands you’ve already reviewed.) - Configure BuildKit garbage collection on build hosts using the keys documented on the garbage collection page.
- Use named volumes for anything you care about, and back them up. Anonymous volumes are the ones
volume prunetargets by default, so don’t keep real data in them. - Alert before you hit 100%. A disk-usage alert at 80% on the data-root filesystem gives you time to prune deliberately instead of during an outage.
- Keep the host on a UPS. A power loss mid-write on a nearly full disk is a good way to corrupt Docker’s metadata.
- Size storage for the workload. If you prune every week and still hover near full, budget for a larger SSD and schedule the data-root move.
Frequently Asked Questions
What is actually using my Docker disk space?
Run docker system df for the category breakdown and docker system df -v for per-object detail. Then check *-json.log sizes under the containers directory, because docker system df doesn’t count logs.
Will pruning delete images or volumes I still need?
Prune commands never remove running containers, images referenced by any container, or volumes attached to any container. They will remove images you pulled but aren’t using (with image prune -a).
Volume pruning also removes volume data whose container is gone. Review first.
Why is my build cache so big, and how do I clear just that?
BuildKit keeps layers and cache mounts to speed up rebuilds, and busy build hosts make a lot of them. docker builder prune --filter until=24h clears only old cache and leaves images, containers, and volumes alone. Check docker buildx ls for other builders with separate caches.
Should I just move Docker’s storage to a bigger disk instead of pruning?
Do both, in that order. Prune to get out of the immediate outage.
Then schedule the data-root relocation if the host is chronically undersized. A bigger disk without log rotation or pruning just delays the next outage.
Wrapping Up
Run docker system df -v and check log sizes before you delete anything, then prune only the category that’s actually full. On build hosts that’s often build cache; on long-running servers it’s often container logs, but let the measurements decide. Volumes are the one category where a careless prune destroys data you can’t pull back from a registry, so they always get a manual review.
My take: set log-opts and a scoped weekly cache prune on every Docker host you run. Those two changes address two of the most frequent causes of a full data-root, and they take about five minutes. Volumes, inode exhaustion, and simply undersized disks still need the checks above.
| Step | Action | Applies To |
|---|---|---|
| 1 | docker system df / docker system df -v, plus a log-size check | Every incident |
| 2 | docker builder prune --filter until=24h (per builder if needed) | Build hosts, CI runners |
| 3 | docker container prune, then docker image prune / -a | Hosts with stale containers and images |
| 4 | Set log-opts in daemon.json, recreate containers | Chatty or long-running containers |
| 5 | Verify ownership, then docker volume rm / volume prune | Only when volumes are confirmed unused |
| 6 | Relocate data-root during a maintenance window | Chronically undersized hosts |
Applies to Docker Engine on Linux. Confirm current prune and logging flag behavior with docker version and --help, since Docker updates these over time.