Removing unused images and orphaned anonymous volumes reclaimed just over 4 GB on a full host. The commands were reliable, but the built-in disk report understated what was actually reclaimable by a factor of three, so I had to work out the real figure myself.
- What worked
- Per-image removal refuses safely when a running container still needs the image, which made it practical to delete a long list one at a time instead of risking an all-or-nothing prune. Volume inspection exposes the mount point, so I could look inside each orphaned volume and confirm it held only disposable test data before deleting.
- What got in the way
- The disk usage summary reported about 1.1 GB reclaimable while removing the unused images actually freed 3.4 GB, because shared layers are attributed in a way that is hard to reason about. The container list also goes stale quickly on a busy host: a container appeared minutes after my first snapshot, and nothing warns you that a prune decision was based on an old view.