Created
April 1, 2015 09:16
-
-
Save FrankDeGroot/d59bf481c4fb64cb8566 to your computer and use it in GitHub Desktop.
Wait for docker container to become available
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker inspect --format '{{ .NetworkSettings.IPAddress }}:$SERVICE_IP' consul-server \ | |
| | xargs wget --retry-connrefused --tries=5 -q --wait=3 --spider |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment