This app checks if a container is running and healthy or stopped (and shouldn't) and notifies accordingly.
This can be run on Linux for AMD64 and ARMv7.
- Docker Registry @ giggio/notifyhealth
- GitHub @ giggio/notifyhealth
To run it as a daemon run it like this:
docker run --name notifyhealth -d -v /var/run/docker.sock:/var/run/docker.sock giggio/notifyhealth --label <label> [options]
To run it only once and view the output directly in the terminal, run it like this:
docker run --name notifyhealth --rm -ti -v /var/run/docker.sock:/var/run/docker.sock giggio/notifyhealth --label <label> print
To run it on Windows:
docker run --name notifyhealth --rm -ti -v \\.\pipe\docker_engine:\\.\pipe\docker_engine giggio/notifyhealth --label <label> print
TBD.
Questions, comments, bug reports, and pull requests are all welcome. Submit them at the project on GitHub.
Bug reports that include steps-to-reproduce (including code) are the best. Even better, make them in the form of pull requests.
Licensed under the MIT license.