-
-
Notifications
You must be signed in to change notification settings - Fork 94
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 |
Maybe a healthcheck would be useful for this scenario: Occasionally, when I trigger
I don't know why this is happening on my Docker Desktop for Windows, when my other services are running fine. Once, I restart the container, all is good again. I do use |
Currently there's a whole class of errors that aren't caught by the notification feature (bascially everything that goes wrong before the notification feature is initialized). I would think rectifying this would be the proper way to solve your issue. |
Hi Team,
Is there any health check command?
The text was updated successfully, but these errors were encountered: