标签:pass word str span https style cal pull ref
拉取镜像
[root@localhost ~]# docker pull mysql:5.6
运行镜像
docker run -p 3306:3306 --name mysql -v /usr/local/mysql5.6/conf:/etc/mysql/conf.d -v /usr/local/mysql5.6/logs:/logs -v /usr/local/mysql5.6/data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=123456 -d mysql:5.6
参考:https://www.runoob.com/docker/docker-install-mysql.html
标签:pass word str span https style cal pull ref
原文地址:https://www.cnblogs.com/moris5013/p/11000735.html