Probe is for use inside of Docker Containers build on the scratch
image. Given the lack of any tools to do something as simple as a curl command, it is not possible to add a HEALTHCHECK
to your Dockerfile. Probe provides an ultra stripped down curl command to bundle with your super slim containers.
See the Latest Release page for a download link to the binary compiled for your system.
go get -u github.com/gomicro/probe
go install github.com/gomicro/probe
Probe has one option. You provide it with a URL to ping. If it is not able to get a HTTP OK back from the URL, it will return an exit code.
$ probe http://localhost:4567/v1/status
The cli will be versioned in accordance with Semver 2.0.0. See the releases section for the latest version. Until version 1.0.0 the cli is considered to be unstable.
See LICENSE.md for more information.