一条命令实现停用并删除容器:
docker stop $(docker ps -q) & docker rm $(docker ps -aq)
docker rmi $(docker images -q)