Ready-to-use Valkey Cluster (6 nodes: 3 masters + 3 replicas) for local dev & testing.
10K+
A ready-to-use Valkey Cluster Docker image β runs 6 Valkey nodes (3 masters + 3 replicas) inside a single container.
Perfect for local development or testing.
docker run -d -p 30001-30006:30001-30006 --name valkey-cluster ercansormaz/valkey-cluster
Thatβs it! π.
Your Valkey Cluster is now up and running on ports between 30001 and 30006.
β οΈ Note for older versions:
Automatic initialization is introduced in versions 7.2.14, 8.0.11, 8.1.10, 9.0.6, and 9.1.2 (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 valkey-cluster create-cluster create
Check cluster status:
docker exec -it valkey-cluster valkey-cli -p 30001 cluster info
List cluster nodes:
docker exec -it valkey-cluster valkey-cli -p 30001 cluster nodes
π You can explore source of project code on GitHub:
https://github.com/ercansormaz/docker-valkey-clusterβ
Content type
Image
Digest
sha256:c2fe63aa4β¦
Size
45.5 MB
Last updated
1 day ago
docker pull ercansormaz/valkey-cluster