HUB
Sign inSign up
redis-slave logo

devopsbq/redis-slave

By devopsbq

•Updated almost 11 years ago

A redis to run in slave mode

Image
0

1.1K

devopsbq/redis-slave repository overview

⁠Usage

Run this container in the same network as your Redis master (launch a container from the official redis image to have a Redis as master). Pass as EnvVar the master name (or container ip, if you didn't set a name to the master, which we highly recommend).

docker run -d --name slave1 --net redisnet -e MASTER_ADDR=master devopsbq/redis-slave:latest

Note: the default port for connecting to the master is 6379. You can change the port by setting the EnvVar MASTER_PORT. Also, this redis slave works on port 6379, but you can set the EnvVar SLAVE_PORT to change this behaviour.

Tag summary
Recent tags
Content type
Image
Digest
Size
58.9 MB
Last updated
almost 11 years ago
docker pull devopsbq/redis-slave:latest