docker run --restart=always -p 6379:6379 --name redis -d redis:latest --requirepass 123456
docker run --restart=always \
-p 6379:6379 \
--name redis \
-v /opt/redis/conf/redis.conf:/etc/redis/redis.conf \
-v /opt/redis/data:/data \
-d redis redis-server /etc/redis/redis.conf
标签:opt,--,redis,6379,conf,docker
From: https://www.cnblogs.com/oldweipro/p/17824103.html