Docker安装MySQL
1.Docker安装与验证
docker run --name aipros-mysql -v /home/jingyang/Tools/mysql/log:/var/log/mysql -v /home/jingyang/Tools/mysql/data:/var/lib/mysql -v /home/jingyang/Tools/mysql/conf:/etc/mysql -e MYSQL_ROOT_PASSWORD=huawei1111111 --restart=always -d -p 3307:3306 hub.c.163.com/library/mysql:5.7 --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci