1 2 3 4 5 6
docker run -p 3306:3306 --name mysql8 -e MYSQL_ROOT_PASSWORD=root123 -v /usr/mysqlConf:/etc/mysql/conf.d -v /usr/mysqlLog:/var/log/mysql -v /usr/mysqlData:/var/lib/mysql -d mysql:8.0 --lower_case_table_names=1
1 2 3 4
docker run -p 6379:6379 --name redis6 --privileged=true -v /usr/redis/redis.conf:/etc/redis/redis.conf -v /usr/redis/data:/data -d redis:6.0.8 redis-server /etc/redis/redis.conf