How will you remove an image from Docker?

0


We can use the docker RMIΒ command to delete an image from our local system.
Exact command is:
%docker rmi
Ifwe want to find IDs ofallthe Docker images in our localsystem, wecan user docker imagescommand.
%docker images
If we want to remove a docker container then we use the docker RM command.
%docker rm

Devops docker
asked Apr 30, 2023 at 20:05
Sign in to add a comment

0 Answers

0
πŸ“ No answers yet!

Be the first to answer this interview question.

Your Answer

Sign in to post your answer and help the community.