docker run -p 3306:3306 --name mysql \
-v /mydata/mysql/log:/var/log/mysql \
-v /mydata/mysql/data:/var/lib/mysql \
-v /mydata/mysql/conf:/etc/mysql \
-e MYSQL_ROOT_PASSWORD=root \
-d mysql:5.7.19
标签:log,配置文件,5.7,19,var,mydata,mysql,3306
来源: https://www.cnblogs.com/pengsulong/p/16255815.html