Ready-to-use Redis Cluster (6 nodes: 3 masters + 3 replicas) for local dev & testing.
50K+
A ready-to-use Redis Cluster Docker image β runs 6 Redis nodes (3 masters + 3 replicas) inside a single container.
Perfect for local development or testing.
docker run -d -p 30001-30006:30001-30006 --name redis-cluster ercansormaz/redis-cluster
Thatβs it! π.
Your Redis Cluster is now up and running on ports between 30001 and 30006.
β οΈ Note for older versions:
Automatic initialization is introduced in versions 6.2.24, 7.2.16, 7.4.11, 8.2.9, 8.4.6, 8.6.6, 8.8.2, and 8.10.1 (and newer).
If you are using a version older than these, you must initialize the cluster manually once after the first startup:docker exec -it redis-cluster create-cluster create
Check cluster status:
docker exec -it redis-cluster redis-cli -p 30001 cluster info
List cluster nodes:
docker exec -it redis-cluster redis-cli -p 30001 cluster nodes
π You can explore source of project code on GitHub:
https://github.com/ercansormaz/docker-redis-clusterβ
Content type
Image
Digest
sha256:c5afabfc7β¦
Size
52.9 MB
Last updated
1 day ago
docker pull ercansormaz/redis-cluster