删除docker镜像的时候提示image is referenced in multiple repositories
执行 docker rmi删除docker镜像的时候提示image is referenced in multiple repositories,是因为有多个相同id的镜像,例如:[root@k8s-master docker]# docker rmi cec1fd015fdfError response from daemon: conflict: unable to delete cec1fd
·
执行 docker rmi
删除docker镜像的时候提示image is referenced in multiple repositories,是因为有多个相同id的镜像,例如:
[root@k8s-master docker]# docker rmi cec1fd015fdf
Error response from daemon: conflict: unable to delete cec1fd015fdf (must be forced) - image is referenced in multiple repositories
解决方法为,采用强制删除镜像 docker rmi -f
[root@k8s-master docker]# docker rmi -f cec1fd015fdf
即可解决!!!
更多推荐
已为社区贡献7条内容
所有评论(0)