docker run --privileged=true -d --name redis -p 6379:6379 -v /Users/zs/docker/redis/conf/redis.conf:/etc/redis/redis.conf -v /Users/zs/docker/redis/data:/data redis redis-server /etc/redis/redis.conf
config url 参考如下
https://blog.csdn.net/xuyanqiang123/article/details/131536650
标签:配置文件,启动,redis,conf,docker,zs From: https://www.cnblogs.com/senjiang/p/17662036.html