标签:hello star gcc emctl centos7 http images creat cal
从旧版的docker删除后安装了新版的docker-ce
发现之前镜像无法删除,并且重新pull不能覆盖,会出现两个一模一样的镜像。
[root@localhost ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
ubuntu 16.04 00fd29ccc6f1 3 weeks ago 111MB
ubuntu 16.04 00fd29ccc6f1 3 weeks ago 111MB
[root@localhost ~]# docker rm 00fd
Error response from daemon: No such container: 00fd
问题
$ docker rmi -f gcc:7.1.0 Error response from daemon: No such image: gcc:7.1.0 $ docker rmi -f 855a4f4d1cd9 Error response from daemon: reference does not exist $ docker rmi -f hello-world:latest Error response from daemon: No such image: hello-world:latest $ docker rmi -f 1815c82652c0 Error response from daemon: reference does not exist44
解决
sudo systemctl stop docker sudo rm -rf /var/lib/docker sudo systemctl start docker
但是以前的镜像也会没有啊 需要在研究研究
标签:hello star gcc emctl centos7 http images creat cal
原文地址:https://www.cnblogs.com/charon2/p/10425758.html