-
Notifications
You must be signed in to change notification settings - Fork 344
Add HEALTHCHECK instruction #157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Copying comment from docker-library/cassandra#76 (comment)
|
This image is officially deprecated in favor of upstream's images (see https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html). For more information, please see #160, docker-library/docs#842, and docker-library/docs#945.
Thanks! |
This commit was created by the elastic-dockerfiles-publisher.
HEALTHCHECK instruction (added in Docker 1.12) is very powerful and useful for data-base (because usually other containers will depend on). (more at https://blog.newrelic.com/2016/08/24/docker-health-check-instruction/).
This will tell if elasticsearch is up or not (not the container, but elasticsearch itself).
I think a simple
Could do the trick.
The text was updated successfully, but these errors were encountered: