Categories
Docker Uncategorized

HOW TO remove all docker images

Remove all images

All the Docker images on a system can be listed by adding -a to the docker images command. Once you’re sure you want to delete them all, you can add the -q flag to pass the Image ID to docker rmi:

List:

docker images -a

Remove:

docker rmi $(docker images -a -q)

Source: https://www.digitalocean.com/community/tutorials/how-to-remove-docker-images-containers-and-volumes

Did my HOW TO help you? Leave a reply.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.