Difference between revisions of "Docker rmi"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
docker rmi
 +
[[docker rmi --help]]
  
 
  docker rmi myname1:mytag1
 
  docker rmi myname1:mytag1

Revision as of 13:39, 19 February 2023

docker rmi
docker rmi --help
docker rmi myname1:mytag1
Untagged: myname1:mytag1
Deleted: sha256:8e70c407a8e226b217ad9a749c8e7498214377f6142c2d5f5043a0fc01ce4a07
docker rmi myname1:mytag5
Untagged: myname1:mytag5
docker rmi 7a40c3c56100
Error response from daemon: conflict: unable to delete 7a40c3c56100 (must be forced) - image is being used by stopped container 71ae176b8b82

Solution: review if it is appropriate to delete container using docker rm XXXXXX

Related commands

See also

Advertising: