inem0o/redis-trib is a small Docker image based on Alpine Linux providing Redis-trib.
Redis-trib is a command line tool executing commands to manage a Redis cluster
-
Install Docker.
-
Download builded image from public Docker Hub Registry
docker pull inem0o/redis-trib
git clone https://github.com/iNem0o/docker-redis-trib.git docker-redis-trib
cd docker-redis-trib
docker build -t redis-trib .
docker run --rm redis-trib help
docker run --rm inem0o/redis-trib create --replicas 1 172.0.0.1:6379 172.0.0.2:6379 172.0.0.3:6379 172.0.0.4:6379
You can read more about Redis cluster and redis-trib tool here :