Public Repository

Last pushed: 2 years ago
Short Description
Lightweight container that returns an exit code corresponding to whether a port is open or closed.
Full Description

An exit code of 0 means the port is open and reachable while 1 means it's not. Useful for conducting rudimentary health checks on services like MySQL databases (port 3306) and web servers (port 80):

$ docker run --rm pheuter/netcat

Note: command will timeout after 1 second.

Docker Pull Command