docker安装:https://www.runoob.com/docker/centos-docker-install.html
获取镜像:docker pull centos
启动容器:docker run -it centos /bin/bash
映射端口、目录并启动:docker run --name webapp -p 8080:80 -it --privileged=true -v /home/wwwroot:/home/wwwroot centos /bin/bash
查看所有容器:docker ps -a
进入容器:docker exec -it xxxxxxxxxxxxxxx /bin/bash