DOCKER - HOW TO REMOVE A DOCKER IMAGE FROM OUR HOST
HOW TO REMOVE A DOCKER IMAGE FROM OUR HOST
In order to remove a docker image from our system:-
run the command :- docker rmi (Name of the Image)
In my example, I have deleted the image - docker/whalesay which I downloaded earlier.
Note:- Before deleting an image, please make sure that no container is using that image.
You need to stop and delete all the containers using this image, before deleting this image.
Great Article
ReplyDeleteCloud Computing Projects
Networking Projects
Final Year Projects for CSE
JavaScript Training in Chennai
JavaScript Training in Chennai
The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training
Docker rmi -f
ReplyDeleteTo delete image which has docker containers.
Docker rmi $(docker images -aq)
To remove many images at a time
Thanks for such a pleasant post. This post loaded with lots of useful information. Keep it up. If you are looking for the best information and suggestions related to tech world then visit World of Article.
ReplyDeleteUseful tip
ReplyDelete