Remove dangling Docker images
docker remove unused images | delete none images docker | docker image prune | docker | images | cleanup | disk-spaceCaution: This command changes the system. Understand what it does before you run it.
docker image pruneRemoves so-called dangling images, recognizable by <none> in docker images. They are created when a tag points to a different image after docker pull or a new build. Docker asks before deleting and reports the freed space at the end.
Note: With -a, all images not used by any container are deleted as well, including locally built ones that cannot be downloaded again. Docker commands require root or the docker group.
Also searched as
- docker remove unused images
- delete none images docker
- docker image prune