Difference between revisions of "Docker rmi"
Jump to navigation
Jump to search
(One intermediate revision by one other user not shown) | |||
Line 14: | Line 14: | ||
Solution: review if it is appropriate to delete container using <code>[[docker rm]] XXXXXX</code> | Solution: review if it is appropriate to delete container using <code>[[docker rm]] XXXXXX</code> | ||
+ | |||
+ | docker image --force imagetobedeletedwithforceoption | ||
== Related commands == | == Related commands == | ||
* <code>[[docker system prune]]</code> | * <code>[[docker system prune]]</code> | ||
* <code>[[docker rm]]</code> | * <code>[[docker rm]]</code> | ||
+ | * <code>[[act --container-architecture]]</code> | ||
== See also == | == See also == |
Latest revision as of 10:47, 19 February 2024
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
docker image --force imagetobedeletedwithforceoption
Related commands[edit]
See also[edit]
Advertising: