1、使用Xshell登录CentOS7虚拟机
3、以交互方式启动镜像docker run -it --name mysqlimg mysql:5.6 /bin/bash
5、退出交互环境使用命令exit
7、查看运行中的容器