[docker] error in deleting image: image is referenced in multiple repositories

Error in deleting according to image ID:

[[email protected] zipkin-ui]# docker rmi 66ce95468449
Error response from daemon: conflict: unable to delete 66ce95468449 (must be forced) - image is referenced in multiple repositories

Docker images finds that the same image ID is tagged into multiple different warehouses

[[email protected] zipkin-ui]# docker images
REPOSITORY                                 TAG                 IMAGE ID            CREATED             SIZE
blanchedingding/zipkin-ui                  logvisualization    66ce95468449        23 minutes ago      78.8MB
doraemon/zipkin-ui                         logvisualization    66ce95468449        23 minutes ago      78.8MB
zipkin-ui                                  latest              66ce95468449        23 minutes ago      78.8MB

Use R epository:tag You can delete it in the following way:

[[email protected] zipkin-ui]# docker rmi doraemon/zipkin-ui:logvisualization
Untagged: doraemon/zipkin-ui:logvisualization
[[email protected] zipkin-ui]# docker images
REPOSITORY                                 TAG                 IMAGE ID            CREATED             SIZE
blanchedingding/zipkin-ui                  logvisualization    66ce95468449        25 minutes ago      78.8MB
zipkin-ui                                  latest              66ce95468449        25 minutes ago      78.8MB


Read More: