删除所有镜像docker
docker rmi $(docker images -a -q)
docker删除所有镜像
docker system prune
删除所有docker镜像
# List all containers (only IDs)
docker ps -aq
# Stop all running containers
docker stop $(docker ps -aq)
# Remove all containers
docker rm $(docker ps -aq)
# Remove all images
docker rmi $(docker images -q)
删除docker镜像
docker system prune -a
删除所有docker镜像
docker system prune -a
docker purge all
docker system prune [OPTIONS]