Public | Automated Build

Last pushed: a month ago
Short Description
ZooKeeper
Full Description

zookeeper

ZooKeeper

https://zookeeper.apache.org/

CentOS

e.g.

docker run -d \
-e MYID=1 \
-e SERVERS=node-1,node-2,node-3 \
--name=zookeeper --net=host --restart=always mesoscloud/zookeeper:3.4.8-centos-7

Ubuntu

e.g.

docker run -d \
-e MYID=1 \
-e SERVERS=node-1,node-2,node-3 \
--name=zookeeper --net=host --restart=always mesoscloud/zookeeper:3.4.8-ubuntu-14.04
Docker Pull Command
Owner
mesoscloud
Source Repository

Comments (3)
thaddeusaid
a year ago

I'm a little confused about the entrypoint.sh

I think this is for initialization​ of the server, am I correct?

micahlmartin
2 years ago

If you don't want to lose your data I would recommend adding -v /var/lib/zookeeper:/tmp/zookeeper to your docker run command.

rafa
2 years ago

How is the form of address in node-1,2,3 that I should use? could you give me an example? Thank you