Easily cluster-able Zookeeper node.
466
A base dynamically configurable Zookeeper image
"ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services."
For more information about this see the [https://zookeeper.apache.org].
docker run -p 2181:2181 mattjtodd/zookeeper
[Ensemble mode] (https://zookeeper.apache.org/doc/r3.3.3/zookeeperAdmin.html#sc_zkMulitServerSetup) can be configured by defining:
-id to define the node id written to the data/myid an integer 1-255.-p or --property to define a zoo.cfg property-valueSo:
-id <myid> -p <property=value> -p ...
For example:
docker run -p 2181:2181 mattjtodd/zookeeper -id 1 -p server.1=zookeeper1:2888:3888
-s or --server to define each member of the ensemble.The compose file illustrates this setup and can be stood up using
docker-compose up
Content type
Image
Digest
Size
62.5 MB
Last updated
over 9 years ago
docker pull mattjtodd/zookeeper