filmov
tv
Steps to install Redis cluster docker | Redis cluster in 5 mins
Показать описание
@configlearninghub
#redis #docker #cluster
Installing Redis cluster docker is not as difficult as it may seem. With the right steps and some basic understanding of the process, it can be installed and running in no time. This video will provide a detailed guide on the steps to install Redis cluster docker, giving you the knowledge to get it up and running quickly and easily.
Below are the commands.
Please subscribe by clicking the below link to support my channel:
Creating docker bridge network for redis-cluster
-----------------------------------------------------------------------------
docker network create redis-cluster
Six docker container for forming redis-cluster
---------------------------------------------------------------------------
docker run -e ALLOW_EMPTY_PASSWORD=yes -e REDIS_NODES=redis1,redis2,redis3,redis4,redis5,redis6 --name redis1 --network redis-cluster -p 6379:6379 -d bitnami/redis-cluster:latest
docker run -e ALLOW_EMPTY_PASSWORD=yes -e REDIS_NODES=redis1,redis2,redis3,redis4,redis5,redis6 --name redis2 --network redis-cluster -p 6380:6379 -d bitnami/redis-cluster:latest
docker run -e ALLOW_EMPTY_PASSWORD=yes -e REDIS_NODES=redis1,redis2,redis3,redis4,redis5,redis6 --name redis3 --network redis-cluster -p 6381:6379 -d bitnami/redis-cluster:latest
docker run -e ALLOW_EMPTY_PASSWORD=yes -e REDIS_NODES=redis1,redis2,redis3,redis4,redis5,redis6 --name redis4 --network redis-cluster -p 6382:6379 -d bitnami/redis-cluster:latest
docker run -e ALLOW_EMPTY_PASSWORD=yes -e REDIS_NODES=redis1,redis2,redis3,redis4,redis5,redis6 --name redis5 --network redis-cluster -p 6383:6379 -d bitnami/redis-cluster:latest
docker run -e ALLOW_EMPTY_PASSWORD=yes -e REDIS_NODES=redis1,redis2,redis3,redis4,redis5,redis6 --name redis6 --network redis-cluster -p 6384:6379 -d bitnami/redis-cluster:latest
Commands for forming redis-cluster
----------------------------------------------------------
docker exec -it redis1 redis-cli --cluster create redis1:6379 redis2:6379 redis3:6379 redis4:6379 redis5:6379 redis6:6379 --cluster-replicas 1 --cluster-yes
YouTube keywords
------------------------------
redis setup cluster, redis setup docker linux, redis bitnami, redis cluster, redis cluster create, redis cluster create command, redis cluster creation, redis cluster crossslot, redis cluster docker, redis sentinel, redis, redis docker
#redis #docker #cluster
Installing Redis cluster docker is not as difficult as it may seem. With the right steps and some basic understanding of the process, it can be installed and running in no time. This video will provide a detailed guide on the steps to install Redis cluster docker, giving you the knowledge to get it up and running quickly and easily.
Below are the commands.
Please subscribe by clicking the below link to support my channel:
Creating docker bridge network for redis-cluster
-----------------------------------------------------------------------------
docker network create redis-cluster
Six docker container for forming redis-cluster
---------------------------------------------------------------------------
docker run -e ALLOW_EMPTY_PASSWORD=yes -e REDIS_NODES=redis1,redis2,redis3,redis4,redis5,redis6 --name redis1 --network redis-cluster -p 6379:6379 -d bitnami/redis-cluster:latest
docker run -e ALLOW_EMPTY_PASSWORD=yes -e REDIS_NODES=redis1,redis2,redis3,redis4,redis5,redis6 --name redis2 --network redis-cluster -p 6380:6379 -d bitnami/redis-cluster:latest
docker run -e ALLOW_EMPTY_PASSWORD=yes -e REDIS_NODES=redis1,redis2,redis3,redis4,redis5,redis6 --name redis3 --network redis-cluster -p 6381:6379 -d bitnami/redis-cluster:latest
docker run -e ALLOW_EMPTY_PASSWORD=yes -e REDIS_NODES=redis1,redis2,redis3,redis4,redis5,redis6 --name redis4 --network redis-cluster -p 6382:6379 -d bitnami/redis-cluster:latest
docker run -e ALLOW_EMPTY_PASSWORD=yes -e REDIS_NODES=redis1,redis2,redis3,redis4,redis5,redis6 --name redis5 --network redis-cluster -p 6383:6379 -d bitnami/redis-cluster:latest
docker run -e ALLOW_EMPTY_PASSWORD=yes -e REDIS_NODES=redis1,redis2,redis3,redis4,redis5,redis6 --name redis6 --network redis-cluster -p 6384:6379 -d bitnami/redis-cluster:latest
Commands for forming redis-cluster
----------------------------------------------------------
docker exec -it redis1 redis-cli --cluster create redis1:6379 redis2:6379 redis3:6379 redis4:6379 redis5:6379 redis6:6379 --cluster-replicas 1 --cluster-yes
YouTube keywords
------------------------------
redis setup cluster, redis setup docker linux, redis bitnami, redis cluster, redis cluster create, redis cluster create command, redis cluster creation, redis cluster crossslot, redis cluster docker, redis sentinel, redis, redis docker
Комментарии