You can list all the images you have downloaded or installed using the

docker images -a

command:

You can remove an image with docker rmi command, passing the name of the image you want to remove. This will remove the image.

Sometimes when testing and developing, some images become dangling, which means untagged images. They can always be safely removed to free disk space.

Running docker images -f dangling=true will list them:

#docker #images #command line #docker rmi

Working with Docker Images from the command line
1.25 GEEK