docker删除镜像报错处理:Error response from daemon: conflict: unable to delete a945e7fd5401 (cannot be forced

Posted CIBLE

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了docker删除镜像报错处理:Error response from daemon: conflict: unable to delete a945e7fd5401 (cannot be forced相关的知识,希望对你有一定的参考价值。

不通过id直接删除,改为通过名称:版本号来删除解决此问题

docker rmi cible/bf-nginx

 

如果遇到版本为<none>,解决方案如下

1.通过镜像ID更改镜像版本号

docker tag a945e7fd5401 cible/bf-nginx:1

2.通过名称:版本来删除

docker rmi cible/bf-nginx:1

 

以上是关于docker删除镜像报错处理:Error response from daemon: conflict: unable to delete a945e7fd5401 (cannot be forced的主要内容,如果未能解决你的问题,请参考以下文章