Public | Automated Build

Last pushed: 2 months ago
Short Description
zookeeper run in docker
Full Description

#docker-zookeeper

Builds a docker image for Zookeeper.

docker build -t benyoo/zookeeper:3.4.9 github.com/xiaoyawl/docker-zookeeper

Start an instance for cluster Node1:

docker run -d --name=zookeeper --net=host --restart=always \
-e MYID=1 -e SERVERS=node1,node2,node3,node4,node5 \
benyoo/zookeeper:3.4.9

Start an instance for cluster Node2:

docker run -d --name=zookeeper --net=host --restart=always \
-e MYID=2 -e SERVERS=node1,node2,node3,node4,node5 \
benyoo/zookeeper:3.4.9
Docker Pull Command
Owner
benyoo
Source Repository