在docker反复build后,会存留很多none镜像,下面命令一键删除所有none镜像 (docker 清理)
docker rmi `docker images | grep '<none>' | awk '{print $3}'` docker rmi `docker images -q -f dangling=true` docker rmi $(docker images -q -f dangling=true)
标签:none,dangling,images,镜像,docker,rmi From: https://www.cnblogs.com/lucktomato/p/16709140.html