Configuring Docker Health Check for Go Web Applications

from blog Blog on hjr265.me, | ↗ original
Docker has been providing a health check mechanism for quite some time. It is useful in identifying issues with programs that can fail in ways other than just outright crashing. And it is easy to set up. Docker health checks work periodically running a program within the container and observing its exit status. If it exits with a 0, the container...