删除异常停止的docker容器
docker rm `docker ps -a | grep Exited | awk '{print $1}'`
删除名称或标签为none的镜像
docker rmi -f `docker images | grep '<none>' | awk '{print $3}'`
docker rm `docker ps -a | grep Exited | awk '{print $1}'`
docker rmi -f `docker images | grep '<none>' | awk '{print $3}'`