unable to delete * (must be forced) - image is referenced in multiple repositories

目录

问题

解决


问题

删除docker镜像时报错:

unable to delete 859dd6fb3c9b (must be forced) - image is referenced in multiple repositories

解决

首先,查看docker镜像的情况。

命令:

docker images

镜像列表,如下图所示: 

unable to delete * (must be forced) - image is referenced in multiple repositories其次,根据镜像名称删除。

命令:

docker rmi test-build-docker

然后,再根据镜像ID删除。

命令:

docker rmi 823d49569c07 

成功!

再运行这个命令的时候会提示这个镜像已经不存在了。 

上一篇:通过IL Emit来创建类型的探究


下一篇:PaddleSeg UnboundLocalError: local variable ‘images‘ referenced before assignment