查看可用的 CentOS版本
docker search centOS

拉取 CentOS最新镜像
docker pull centos:latest

查看本地镜像
docker images

运行容器
docker run -itd --name centos-demo centos

查看进程
docker ps

进入centos容器
docker exec -it centos-demo /bin/bash
停止容器
docker stop centos-demo

删除容器
docker rm centos-demo
删除镜像
docker rmi centos

