Skip to content

EsWork/docker-zk

Repository files navigation

Build Status

Image Tag Metadata from image

Supported tags and respective Dockerfile links

  • eswork/zk

Environment variables

  • SERVICE_USER : user name (default : zookeeper)

  • SERVICE_GROUP : group name (default : zookeeper)

  • SERVICE_UID : user id (default : 1000)

  • SERVICE_GID : group id (default : 1000)

  • ZK_MY_ID="0"

  • ZK_DATA_DIR="/opt/zk/data"

  • ZK_INIT_LIMIT="5"

  • ZK_MAX_CLIENT_CXNS="500"

  • ZK_SYNC_LIMIT="2"

  • ZK_TICK_TIME="2000"

  • ZK_SERVER="server.0=127.0.0.1:2888.3888"

Installation

docker pull eswork/zk

Quickstart

docker run --name zk -d \
-v /etc/localtime:/etc/localtime:ro \
-p 2181:2181 --restart=always \
eswork/zk