docker部署redis命令

docker run -itd --name redis6380 -p 6380:6379 \
--restart=always \
-v /app/redis6380/conf/redis.conf:/etc/redis/redis.conf \
-v /app/redis6380/data:/data \
-e "TZ=Asia/Shanghai"  \
-v /etc/localtime:/etc/localtime \
redis redis-server /etc/redis/redis.conf 

你可能感兴趣的:(docker部署redis,docker)