1.Docker的安装
[root@localhost~]#yum install -y docker
2.启动Docker,并设置开机自启动。
[root@localhost~]#systemctl start docker
[root@localhost~]#systemctl status docker
3.获取镜像并查看本地镜像
[root@localhost~]#docker pull wordpress
[root@localhost~]#docker pull mysql
[root@localhost~]#docker images
4.启动容器mysql
标签:mysql,systemctl,Linux,Docker,root,docker,localhost,搭建 From: https://www.cnblogs.com/w2086/p/17431828.html