Public Repository

Last pushed: 6 months ago
Short Description
Cluster image for Redis 3.0
Full Description

Full source can be found at: https://github.com/Grokzen/docker-redis-cluster

Last update: 2017-02-09


Docker image with redis built and installed from source.

The main usage for this container is to test redis cluster code. For example in https://github.com/Grokzen/redis-py-cluster repo.

The cluster is 6 redis instances running with 3 master & 3 slaves, one slave for each master. They run on ports 7000 to 7005.

It also contains 2 standalone instances that is not part of the cluster. They are running on port 7006 & 7007

This image requires at least Docker version 1.10 but the latest version is recommended.


  • latest == 3.2.7

Redis 3.2.x versions:

  • 3.2.7
  • 3.2.6 (Build is broken and no image exists)
  • 3.2.5
  • 3.2.4
  • 3.2.3
  • 3.2.2
  • 3.2.1
  • 3.2.0
  • 3.2-rc1

Redis 3.0.x versions:

  • 3.0.7
  • 3.0.6
  • 3.0.5
  • 3.0.4
  • 3.0.3
  • 3.0.2
  • 3.0.1
  • 3.0.0
Docker Pull Command
Owner
grokzen

Comments (3)
pcej
23 days ago

Hey, I tried to use this docker image, running it with the following command:
docker run -d -p 7000:7000 -p 7001:7001 -p 7002:7002 -p 7003:7003 -p 7004:7004 -p 7005:7005 -p 7006:7006 -p 7007:7007 --name rcluster grokzen/redis-cluster:4.0-rc2
and also with tag latest.
Unfortunately for both versions I observe the same behavior.
Namely, all cluster starts correctly, CLUSTER INFO commands return seemingly right data and logs look OK, but when I try to execute SET <key> 1 from any node the command fails with time-out if the slot is not in the node, where the command is run.
It looks like the slot redirects do not work.

jason0916
5 months ago

That's helpful, thank you~

chw717
a year ago

没法使用。。。 哎 找个东西好难

useless。。