Created
April 6, 2017 11:21
-
-
Save junaid18183/5f8eb5c68ec6089ceafd7c53acc2804c to your computer and use it in GitHub Desktop.
how to do docker healthcheck using Goss
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
From busybox | |
COPY goss.yaml /tmp/goss.yaml | |
COPY goss /usr/local/bin/ | |
COPY goss-serve /usr/local/bin/ | |
HEALTHCHECK --interval=5s --timeout=2s --retries=12 \ | |
CMD /usr/local/bin/goss --gossfile /tmp/goss.yaml v --format documentation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment