错误: Error response from daemon: conflict: unable to delete ba6acccedd29 (cannot be forced) - image has dependent child images
原因:镜像有从属关系,因为ubuntu是上面2个镜像的创建底层。而且Ubuntu在容器里面还在运行。
解决:先停止容器、删除容器、之后先删除创建的2个镜像、最后在删除Ubuntu镜像即可。
错误: Error response from daemon: conflict: unable to delete ba6acccedd29 (cannot be forced) - image has dependent child images
原因:镜像有从属关系,因为ubuntu是上面2个镜像的创建底层。而且Ubuntu在容器里面还在运行。
解决:先停止容器、删除容器、之后先删除创建的2个镜像、最后在删除Ubuntu镜像即可。