" | grep -oE "[0-9a-z]{12}" | tr '\n' ' ') ``` …">一键清理none镜像 - Saber2pr's Blog
Saber2pr's Blog

一键清理none镜像

docker rmi $(docker images | grep "<none>" | grep -oE "[0-9a-z]{12}" | tr '\n' ' ')