docker redis

docker run --name meteor-redis-master -p 6379:6379  -v $PWD/usr/local/docker/redis/data:/data  -v $PWD/usr/local/docker/redis/conf/redis.conf:/etc/redis/redis.conf -d redis redis-server --requirepass "Tianwang@1234#" --appendonly yes

当前文件$PWD/data

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