Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
Dockerfile.zkcli
Dockerfile.zookeeper
README.md
docker-compose.yml
zoo.cfg
zookeeper-entrypoint.sh

README.md

Using A Docker Zookeeper Image

This is a simple example that sets up a five server Zookeeper cluster.

Requirements

This example requires docker version 1.11+ and docker-compose version 1.6+.

Running

docker-compose up

On a separate terminal, you can use the following line to connect to the five server Zookeeper instance:

docker-compose run --rm zkcli -server zookeeper3

There is an intro to zkcli here: Connecting To ZooKeeper.