docker search redis
docker pull redis:5.0
mkdir -p /home/redis/conf /home/redis/data /home/redis/log
docker run \
-p 6379:6379 \
-v /home/redis/conf/redis.conf:/usr/local/etc/redis/redis.conf \
-v /home/redis/data:/data \
-v /home/redis/log/redis.log:/var/log/redis.log \
--restart=always \
--name c_redis \
-d redis:latest \
redis-server \
--appendonly yes \
--requirepass "dujunhui123"