安装了docker服务并下载了官方的centos7.2.1511镜像,然后自己又修改了一下commit生成我的镜像,现在想删除刚开始下载的那个centos7.2.1511镜像,但是无法删除,提示如下:
提供如下信息:运行docker ps:
运行docker ps -a:
可见并没有容器依赖于centos7.2.1511镜像,但是为什么这个镜像就是删除不了呢,,求解
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.
docker images
Have you tried adding sudo? It may be a permission issue
sudo
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.Have you tried adding
sudo
? It may be a permission issue