advancedTop 100 Interview Questions
What does `docker image prune -a` do differently from `docker image prune`?
Without `-a`, only dangling images (untagged, unreferenced layers left over from rebuilds) are removed. With `-a`, all images not currently used by any container are removed, including tagged ones not actively in use — a more aggressive cleanup.
This is a Pro chapter
Sign in, then upgrade to Pro or Power to unlock this and the full DevOps Mastery library.
What does `docker image prune -a` do differently from `docker image prune`?