docker
storage
ai_generated
true
Error: no space left on device
ID: docker/no-space-left-on-device
96%Fix Rate
97%Confidence
50Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 24 | active | — | — | — |
Root Cause
Docker has consumed all available disk space with images, containers, volumes, and build cache.
genericWorkarounds
-
96% success Run docker system prune -a --volumes to reclaim space
Removes all stopped containers, unused images, networks, and volumes
-
88% success Set up regular cleanup with docker system prune in cron
Add 0 2 * * * docker system prune -af to crontab for nightly cleanup
Dead Ends
Common approaches that don't work:
-
Deleting /var/lib/docker manually
90% fail
Corrupts Docker's internal database; may brick the daemon
-
Increasing disk size without pruning
55% fail
Docker will fill the new space too if images are not cleaned up
Error Chain
Frequently confused with: