标签:ons kvm who info dock http _id let png
[root@kvm ~]# docker rmi 4950a54ede5a
Error response from daemon: conflict: unable to delete 4950a54ede5a (must be forced) - image is being used by stopped container 834789a17497
docker ps -a
查看所有容器记录(包括未运行的容器),并查看那些容器是使用了这个要删除的镜像:docker rm container_ID
删除这两个容器[root@kvm ~]# docker rm 834789a17497
834789a17497
[root@kvm ~]# docker rm 63b699a2cbb6
63b699a2cbb6
docker rmi image_ID
删除镜像[root@kvm ~]# docker rmi 4950a54ede5a
Untagged: www.wholj.com:7.5
Deleted: sha256:4950a54ede5a5c0da704c6f74e6bcc43d440e83260b0752a926325035435a7dc
Deleted: sha256:788edba9eaa8ade63d8ba9d5747281c5da2b34b12a6c80f4dffd8ad9e05f68c1
标签:ons kvm who info dock http _id let png
原文地址:https://www.cnblogs.com/wholj/p/10329201.html