Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description


Custom image for Zookeeper ensemble

To build it:

docker build -t eaudeweb/zookeeper .

This image will work for an arbitrary number of Zookeeper nodes.
The best bractice is to use an odd number of machines.
Before running the container, configure the environment variables in env
file, as it follows:

  • HOSTNAMES:ip1;ip2;ip3 List the hostnames of your machines separated by ;
  • MYID The index of the current machine in the list above (starting with 1)

The following ports are exposed by Docker:

  • 2181 - clients will use this port to connect to Zookeeper
  • 2888 - followers (zk nodes) use this port to connect to the leader
  • 3888 - leader selection algorithm
Docker Pull Command
Source Repository

Comments (0)