搜索镜像 docker search xxx 安装镜像 docker pull xxx 查看运行的容器 docker ps 查看包含停止的容器 docker ps -a 删除旧的镜像 docker image prune 删除所有停止的容器 docker rm $(docker ps -a -q)