MySQL安装
docker安装MySQL
docker run --name mysqlserver \
-p 3306:3306 \
-v /etc/mysqlconf:/etc/mysql/conf.d \
-v /data/mysql/mysqldata:/var/lib/mysql \
-e MYSQL_ROOT_PASSWORD=***** -d \
mysql:5.6
docker run --name mysqlserver \
-p 3306:3306 \
-v /etc/mysqlconf:/etc/mysql/conf.d \
-v /data/mysql/mysqldata:/var/lib/mysql \
-e MYSQL_ROOT_PASSWORD=***** -d \
mysql:5.6