主要原因为镜像关联的容器未删除。 1.查询容器 //操作系统为centos7.0 docker ps -a 2.删除相关容器 docker rm -f 容器ID 3.删除镜像 docker rmi 镜像名