-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Health Check #384
Comments
What's the failure scenario you would like to check for with such a health check? Right now, as long as the container did not exit, things are assumed running as configured (which obviously might not be true). However, if this image would implement a health check, I wouldn't even know which conditions to check for. Do you have something specific in mind? |
Yeah, that's why I'm asking. I'm ok with just having |
The process in the container works kind of like If you want job-level visibility instead, you can either monitor your logs or use the notification feature, which can notify you about either all runs or just failed ones. Docs are here https://offen.github.io/docker-volume-backup/how-tos/set-up-notifications.html There are also ideas about exposing metrics via HTTP (e.g. Prometheus), but I don't know how / if this will ever happen: #64 |
Thanks for the explanation! |
This should be the responsibility of Docker or whatever tool runs the container in that case. If the process exits, the container does so as well, and in this case whoever is supervising the container should be taking care of whether it wants to restart the container or not. |
I see |
Hi Team,
Is there any health check command?
The text was updated successfully, but these errors were encountered: