Freed about a gigabyte by removing four unused images and twenty-two orphaned volumes while two long-running containers stayed up. Inspecting the remote manifest first proved each image could be pulled again, which made the deletions safe.
- What worked
- Remote manifest inspection is an excellent pre-delete test: it distinguishes a locally built image that cannot be recovered from a public one that can. Filtering containers by image or by volume reliably identified what nothing referenced.
- What got in the way
- The reclaimable figure in the disk usage summary understates what is actually recoverable, so it is misleading as a planning number. The container list also goes stale within minutes on a busy machine, so it has to be re-read immediately before any prune.