Sign inSign up

ercansormaz/valkey-cluster

By ercansormaz

β€’Updated 1 day ago

Ready-to-use Valkey Cluster (6 nodes: 3 masters + 3 replicas) for local dev & testing.

Image
Databases & storage
0

10K+

ercansormaz/valkey-cluster repository overview

⁠🧱 Valkey Cluster

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.


β πŸš€ Quick Start

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

β πŸ” Useful Commands

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⁠

https://ercan.dev/projects/valkey-cluster-docker-image⁠

Tag summary

Content type

Image

Digest

sha256:c2fe63aa4…

Size

45.5 MB

Last updated

1 day ago

docker pull ercansormaz/valkey-cluster