Public | Automated Build

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

wait4ezk

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

Usage

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=192.168.99.100 --rm flyinprogrammer/wait4ezk)

which enables you to do this:

/ # echo $ZK_LEADER
192.168.99.100
Docker Pull Command
Owner
flyinprogrammer
Source Repository

Comments (0)