一條命令:
docker rmi `docker images | grep "<none>" | awk '{print $3}'`
grep ""是表示過濾none awk '{print $3}'表示記錄的第3個字段