Home  >  Q&A  >  body text

docker镜像无法删除,请求解决办法。

安装了docker服务并下载了官方的centos7.2.1511镜像,然后自己又修改了一下commit生成我的镜像,现在想删除刚开始下载的那个centos7.2.1511镜像,但是无法删除,提示如下:

提供如下信息:
运行docker ps:


运行docker ps -a:


可见并没有容器依赖于centos7.2.1511镜像,但是为什么这个镜像就是删除不了呢,,求解

巴扎黑巴扎黑2704 days ago904

reply all(2)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-04-27 09:05:50

    Because there are other mirrors that depend on this mirror, you should use docker images to see which mirrors there are and then confirm that the mirror is based on it. Delete the mirror after deleting the dependent mirror.

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-27 09:05:50

    Have you tried adding sudo? It may be a permission issue

    reply
    0
  • Cancelreply