Error response from daemon: conflict: unable to remove repository reference "nginx:latest" (must force) - container 50a3d44fa9aa is using its referenced image 605c77e624dd
翻译是:
来自守护程序的错误响应:冲突:无法删除存储库引用“nginx:latest”(必须强制) - 容器 50a3d44fa9aa 正在使用其引用的映像 605c77e624dd
错误原因是:
因为在使用镜像的时候启动了容器,故得把前面使用的容器先给删除,才能继续删除镜像。
解决:
直接将指令改为:docker rmi -f [镜像ID] 即可
-f 强制删除