Public Repository

Last pushed: a year ago
Short Description
Zookeeper image
Full Description

Zookeeper

About this image

Zookeeper Docker image

How to use this image

Build

docker build -t zookeeper ./zookeeper

Inspect container

docker run -it --entrypoint=bash zookeeper

Environment variables

  • ZOOKEEPER_TICK_TIME (default 2000)
  • ZOOKEEPER_DATA_DIR (default /tmp/zookeeper)
  • ZOOKEEPER_CLIENT_PORT (default 2181)
  • ZOOKEEPER_INIT_LIMIT (default 5)
  • ZOOKEEPER_SYNC_LIMIT (default 2)
  • ZOOKEEPER_MAX_CLIENT_CNXS (default 60)
  • ZOOKEEPER_OVERRIDE_CONF Add more configuration here

Run

docker run --rm -it \
--name zookeeper-container \
-e ZOOKEEPER_OVERRIDE_CONF="$(cat zookeeper/conf/zookeeper_override_conf.conf)" \
-p 2181:2181 \
zookeeper
Docker Pull Command
Owner
gvergne

Comments (0)