Docker Community Forums

Share and learn in the Docker community.

Redis replications

Hi everyone,
It’s possible that my question is stupid, but I really need help to understand how it works.
I have been reading this part of documentation and I came to the next question:
in the docker-stack file replicas: 2 option was specified for the redis service. Could anybody explain which replica is master and which is slave, or any way which they work?

Which example you are referring to? The doc link gets redirected.