Your team's CI host is out of disk. The latest pipeline failed mid-build:
failed to register layer: write /var/lib/docker/overlay2/…/diff/app.tar:
no space left on device
The two services on this host (web, cache) are healthy and must stay up. Nobody has cleaned up after months of CI builds, and each build leaves untagged image layers behind. Reclaim the wasted space without touching the running services or the images they use.
web (nginx:alpine) and cache (redis:7-alpine) — both Up 3 days.<none>) leftovers from builds.$ docker system df
TYPE TOTAL ACTIVE SIZE RECLAIMABLE
Images 8 2 6.224GB 6.16GB (98%)
...
$ docker images -f dangling=true
REPOSITORY TAG IMAGE ID CREATED SIZE
<none> <none> 9f8e7d6c5b4a … 1.2GB
...
From the RECLAIMABLE column you can see almost all of it is wasted.
You've solved it when:
docker system df to confirm the wasted space lives inRECLAIMABLE), not containers or volumes, and seen
the untagged <none> images with docker images / -f dangling=true.
docker image prune, ordocker system prune) so docker system df reports the Images
reclaimable dropped sharply.
web and cache are still running and their imagesnginx:alpine, redis:7-alpine) are untouched.
docker CLI only. No rm -rf /var/lib/docker/... by hand (thatdocker image prune, docker system df still shows ~180MBdocker system prune (no -a) leave tagged-but-unused<none> layers. What would stop the--rm, builder cache pruning)?