Skip to content
/ probe Public

An ultra small curl replacement for Health Checks inside Docker images built from the Scratch image

License

Notifications You must be signed in to change notification settings

gomicro/probe

Repository files navigation

Probe

GitHub Workflow Status Go Reportcard GoDoc License Release

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.

Installation

Precompiled Binary

See the Latest Release page for a download link to the binary compiled for your system.

From Source

go get -u github.com/gomicro/probe
go install github.com/gomicro/probe

Usage

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

Versioning

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.

License

See LICENSE.md for more information.