Public | Automated Build

Last pushed: 2 years ago
Short Description
Redis Labs Enterprise Cluster (RLEC) in CentOS 7
Full Description

Redis Labs Enterprise Cluster (RLEC) Dockerfile in CentOS 7

This repository contains a Dockerfile to build a Docker Image for Redis Labs Enterprise Cluster (RLEC) in CentOS 7

Base Docker Image



  1. Install Docker.

  2. You can download automated build from public Docker Hub Registry:

docker pull zokeber/redislabs-rlec:latest

Another way: build from Github

To create the image zokeber/redislabs-rlec, clone this repository and execute the following command on the docker-rlec folder:

docker build -t zokeber/redislabs-rlec:latest .

Another alternatively, you can build an image directly from Github:

docker build -t="zokeber/redislabs-rlec:latest"

Create a unique node

Create a unique container:

docker create --privileged -it -p 8443:8443 --name rlec zokeber/redislabs-rlec

Running container:

docker start rlec

Create a cluster

Create a network bridge:

Firstly, We need create a network bridge:

docker network create --driver=bridge --subnet= --ip-range= --gateway= br0_rlec

After that, We check it was created successfully:

docker network inspect br0_rlec

Then, We need create all nodes with the network bridge newly created:

docker create --privileged -it --net=br0_rlec -p 1443:8443 --name rlec-node01 -h rlec-node01 zokeber/redislabs-rlec
docker create --privileged -it --net=br0_rlec -p 2443:8443 --name rlec-node02 -h rlec-node02 zokeber/redislabs-rlec
docker create --privileged -it --net=br0_rlec -p 3443:8443 --name rlec-node03 -h rlec-node03 zokeber/redislabs-rlec
docker create --privileged -it --net=br0_rlec -p 4443:8443 --name rlec-node04 -h rlec-node04 zokeber/redislabs-rlec

Running all nodes:

docker start rlec-node01
docker start rlec-node02
docker start rlec-node03
docker start rlec-node04
Docker Pull Command
Source Repository