Lightweight, statically linked health check utilities for Docker containers, designed for minimal images.
Microcheck is a collection of lightweight, statically linked command-line utilities designed specifically for performing health checks in Docker containers. It solves the problem of bloated container images by providing minimal binaries that work in scratch or distroless environments where traditional tools like curl fail due to dependencies. The tools include HTTP/HTTPS checkers, port checkers, process monitors, and a parallel execution tool, all following Docker's health check conventions.
Docker users and DevOps engineers building minimal container images who need reliable health checks without adding megabytes of dependencies. It's particularly valuable for those using scratch or distroless base images in production environments.
Developers choose Microcheck over alternatives like curl or wget because it provides Docker-optimized health checks with minimal footprint (75KB vs 9MB), works in dependency-free environments, and follows Docker's exit code conventions. Its statically linked binaries ensure reliability across different container runtimes.
🧪 Lightweight health check utilities for Docker containers
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Binaries like httpcheck are ~75KB, over 100x smaller than curl's ~9MB, drastically reducing Docker image size as highlighted in the README's comparison chart.
Statically linked with musl, these tools work in scratch or distroless images without shared libraries, solving dependency issues for minimal containers.
Exit codes follow Docker's health check convention (0 for healthy, 1 for unhealthy), unlike curl or wget, ensuring seamless integration with Docker's HEALTHCHECK instruction.
The 'parallel' tool allows running multiple health checks simultaneously, enabling efficient monitoring of composite services within a single container.
Missing advanced HTTP features such as redirect following, cookie sessions, or support for modern authentication methods beyond basic auth, which curl provides out-of-the-box.
The README admits UDP port checks are flawed because UDP is connectionless and servers may not respond to empty datagrams, making them unsuitable for many services.
httpscheck accepts self-signed certificates and does not verify SSL/TLS certificates by design, which could mask security issues in production environments.