Issues with Redis Cluster in Docker

I am running a Redis Cluster of 48 instances spread across 6 physical servers. These redis instances are running in docker containers.

The cluster is designed as below:

  • Add -f parameter when running Docker Toolbox
  • docker unit test setup
  • Why is PyCharm killing my subprocess.Popen?
  • How can I remove a <none> tag without deleting the docker image itself?
  • docker private image can not be pulled in centos7
  • Docker Node.js environment variables
  • 1) 4 Docker containers for Redis Master are running on each of these 4 servers (M1, M2, M3, M4).

    2) Each master has 2 slaves. So that means 16 Docker Containers for Redis Slave, running on rest of two servers(S1, S2).

    I am facing an issue while fetching the key. For example I am fetching a key which is stored on M1D2 using the redis-cli from the M1D1 it gives me the following error.

    echo "get a " | redis-cli -c -h -p 6351

    -> Redirected to slot [3902] located at

    Could not connect to Redis at Connection refused

    Could not connect to Redis at Connection refused

    I am quite sure that this issue related to Docker. Is it possible to make the Docker use Base Host eth0 IP for redis, rather than using docker0 IP?

  • How to create User/Database in script for Docker Postgres
  • Dart lang app with open stack / docker / vagrant
  • Docker permission problems when doing volume mapping
  • Disk become slow on docker
  • Stopping docker containers by image name, and don't error if no containers are running
  • In microservice, how do you make sure that all services get updated when more than one micro service is affected?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.