Created
May 8, 2020 19:49
-
-
Save sfertman/730e408499e1e5f508c65606ed818c17 to your computer and use it in GitHub Desktop.
Docker --health-cmd without curl; use wget
This file contains 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
wget -q -S -O - --spider <host>:<port>/<path> &>/dev/null; [ $? -eq 0 ] || exit 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment