Public | Automated Build

Last pushed: 2 years ago
Short Description
ZooKeeper in docker
Full Description

zookeeper

No defualts, everything must be provided. For example if /etc/zookeeper/conf/zoo.cfg contains this:

dataDir=/var/lib/zookeeper

then run it like this:

docker run \
  --net=host \
  -v /etc/zookeeper/conf:/etc/zookeeper/conf \
  -v /var/lib/zookeeper:/var/lib/zookeeper \
  -v /var/log/zookeeper:/var/log/zookeeper \
  -e ZOO_LOG_DIR=/var/log/zookeeper \
  paulszego/zookeeper \
  start-foreground \
  /etc/zookeeper/conf/zoo.cfg

For some reason it doesn't work without host networking, even if all ports are mapped. Is this just a virtualbox problem, or does it occur on other platforms as well? TBD.

Docker Pull Command
Owner
paulszego
Source Repository

Comments (0)