1. 程式人生 > >docker error:image has dependent child images

docker error:image has dependent child images

當刪除docker image時,出現如下錯誤提示:

Error response from daemon: conflict: unable to delete e5da75641ead (cannot be forced) - image has dependent child images

這時,可以先tag下該image:

docker tag e5da75641ead repository:tag

然後再次刪除:

docker rmi repository:tag

即可刪除;

原因我暫時也不清楚,剛剛涉略docker。。。