Open wangming1993 opened 7 years ago
docker rmi `docker images | grep none | sed "s/\(\s\+\)/:/g" | cut -f 3 -d ":"`
docker stop `docker ps -aq`
其实,重点是你会了pipe + sed, 这些命令都不用记了,而是随时会用