Sign inSign up

pheuter/netcat

By pheuter

Updated over 10 years ago

Lightweight container that returns an exit code corresponding to whether a port is open or closed.

Image
0

307

pheuter/netcat repository overview

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.

Tag summary

Content type

Image

Digest

Size

2.2 MB

Last updated

over 10 years ago

docker pull pheuter/netcat