容器操作常见问题
删除 容器镜像
docker rmi 0256c63af7db
发生错误 Error response from daemon: conflict: unable to delete 0256c63af7db (must be forced) - image is being used by stopped container dce22afea23b
产生原因:未删除 redis 的容器
查看容器id
docker ps -a
删除容器
docker rm 容器id
再重新删除镜像
docker rmi 0256c63af7db
启动redis 前需要 systemctl restart docker 重启
标签:容器,常见问题,删除,0256c63af7db,操作,docker,rmi From: https://www.cnblogs.com/cuichaoqun/p/17042936.html