docker run -p 3306:3306
-v /usr/local/docker/mysql/conf:/etc/mysql
-v /usr/local/docker/mysql/logs:/var/log/mysql
-v /usr/local/docker/mysql/mysql-files:/var/lib/mysql-files
-e MYSQL_ROOT_PASSWORD=123456
--name mysql -d mysql:5.7
----------------------------------------------------------------------------------------------------
docker run -d --name=redis
--restart=always
--privileged=true
-p 6379:6379
-v /usr/local/docker/redis/conf:/etc/redis/redis.conf
-v /usr/local/docker/redis/data:/data redis