Error response from daemon: conflict: unable to remove repository reference 解决方案

时间:2023-01-04 20:06:36

由于前一章演示用的镜像没什么用准备删除

docker image rm hello-world:latest

Error response from daemon: conflict: unable to remove repository reference "hello-world:latest" (must force) - container 32a5e6dd8f62 is using its referenced image fce289e99eb9

来自守护进程的错误响应:冲突:无法删除4ac2d12f10cd(必须强制) - 映像在多个存储库中被引用

发生报错

docker images

剩余参考

https://www.thegeekdiary.com/docker-troubleshooting-conflict-unable-to-delete-image-is-being-used-by-running-container/