Public | Automated Build

Last pushed: 3 months ago
Short Description
Simple container that will wait for Consul to elect a leader.
Full Description


A simple container that waits for /v1/status/leader to return the elected Consul leader.
This is especially helpful with testing and waiting for a consul node to boot before running tests.

# Normal
docker run --rm --link consul:consul flyinprogrammer/wait4consul

# Special Consul Endpoint
docker run --rm -e CONSUL_IP=<ip_address or hostname> flyinprogrammer/wait4consul

# Debug
docker run --rm -e DEBUG=true --link consul:consul flyinprogrammer/wait4consul
Docker Pull Command
Source Repository