docker image prune -a

Category: Docker

docker image prune -a

Remove all images not used by any container

Removes all images not currently used by any container — aggressive cleanup.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.