To remove one or more specific images, you can use the docker rmi command.
How to list all images
If you want to list all the images before removing any, you can do they by running the following command:
Remove one or more images
If you want to remove an image by name or id, you can do that by running the following command:
If you want to remove more images at the same time, just pass all the image names or ids to the command:
Remove all images
To remove all docker images, run the following command:
Got an article suggestion?
Let us know
BY
NC
SA
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.