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:

  • Nginx proxy (jwilder/nginx-proxy) Connection reset by peer (502 Bad Gateway)
  • ECS or EB for a single-container application with Docker?
  • How to hot deploy Java EE applications in Docker containers
  • Setup subdomains in docker environment
  • How to use docker-compose on ovh hosting
  • Upload saved image to docker
  • 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?

  • hostname in docker-compose.yml fails to be recognized on on mac (but works on linux)
  • AWS UDP High Availability
  • graphql and serverless offline running in docker
  • wso2CEP on docker - supports JMS (activemq) and other clients
  • What is image sprawl in docker and how to avoid it?
  • Guestbook example not working. Unable to connect to MASTER
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.