我的机器上有两个ubuntu docker镜像
[~/Desktop]$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
ubuntu latest 0cce02100633 5 minutes ago 653 MB
ubuntu <none> 93fd78260bd1 11 days ago 86.2 MB
[~/Desktop]$
我想删除第二个ubuntu图像,一个带有image-id的图像,所以我尝试做docker rmi 93fd78260bd1
。我得到了错误
Error response from daemon: conflict: unable to delete 93fd78260bd1 (cannot be forced) - image has dependent child images
现在,带有图像ID 0cce02100633
的ubuntu包含对我通过安装软件下载的ubuntu图像所做的修改。码头工人告诉我
0cce02100633
是93fd78260bd1