Public | Automated Build

Last pushed: 2 years ago
Short Description
Simple container that waits for exhibitor to bootstrap a zk cluster
Full Description


A simple container which can be used to wait for an exhibitor
cluster to bootstrap.


Given a ZKHOST to poll, this container run until a single leader is elected
in the ZK cluster and then return leader hostname as ZK_LEADER.

Note: When using a hostname for ZKHOST, use a fully qualified name.

/ # eval $(docker run -e ZKHOST= --rm flyinprogrammer/wait4ezk)

which enables you to do this:

/ # echo $ZK_LEADER
Docker Pull Command
Source Repository