删除所有镜像docker
docker rmi $(docker images -a -q)
docker删除所有镜像
docker system prune
docker移除镜像
docker image rm [OPTIONS] IMAGE [IMAGE...]
#[OPTIONS]
--force , -f Force removal of the image
--no-prune Do not delete untagged parents
删除docker镜像
docker system prune -a
删除docker镜像
docker image rm [image id]