How to sent notification when a container is exit on it's own
Sometimes a container getting exit from it's own, how to prevent that with something (say like notifications) so we can re-up the container?
Is there a way to solve this anomaly? Thank you.
@fzn0x
You might want to look at the following resources to achieve what you want:
https://docs.docker.com/compose/compose-file/#restart
https://docs.docker.com/engine/reference/builder/#healthcheck
https://docs.docker.com/engine/reference/commandline/events/
@fzn0x
You might want to look at the following resources to achieve what you want:
https://docs.docker.com/compose/compose-file/#restart
https://docs.docker.com/engine/reference/builder/#healthcheck
https://docs.docker.com/engine/reference/commandline/events/
Thanks, healthcheck looks good!