Lightweight container that returns an exit code corresponding to whether a port is open or closed.
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 10.0.0.1:3306
Note: command will timeout after 1 second.
Docker Pull Command