Docker批量删除image
2019-02-20 本文已影响0人
bonnie_xing
删除前

调用命令
docker images | awk '/<none>/{print "docker rmi "$3}' | bash
删除repository为 none 的 image

删除后

docker images | awk '/<none>/{print "docker rmi "$3}' | bash
删除repository为 none 的 image