Skip to content

instrumentisto/nmap-docker-image

Repository files navigation

Nmap Docker image

Release CI Docker Hub

Docker Hub | GitHub Container Registry | Quay.io

Changelog

Supported tags and respective Dockerfile links

Supported platforms

  • linux: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x

What is Nmap?

Nmap ("Network Mapper") is a free and open source (license) utility for network discovery and security auditing. Many systems and network administrators also find it useful for tasks such as network inventory, managing service upgrade schedules, and monitoring host or service uptime. Nmap uses raw IP packets in novel ways to determine what hosts are available on the network, what services (application name and version) those hosts are offering, what operating systems (and OS versions) they are running, what type of packet filters/firewalls are in use, and dozens of other characteristics. It was designed to rapidly scan large networks, but works fine against single hosts.

Nmap was named “Security Product of the Year” by Linux Journal, Info World, LinuxQuestions.Org, and Codetalker Digest. It was even featured in twelve movies, including The Matrix Reloaded, Die Hard 4, Girl With the Dragon Tattoo, and The Bourne Ultimatum.

nmap.org

Nmap Logo

How to use this image

Just substitute nmap command with docker run instrumentisto/nmap.

docker run --rm -it instrumentisto/nmap -A -T4 scanme.nmap.org

If you need to use another Nmap utility (like nping, for example), just specify it as container entrypoint.

docker run --rm -it --entrypoint nping instrumentisto/nmap scannme.nmap.org

Image tags

This image is based on the popular Alpine Linux project, available in the alpine official image. Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.

This variant is highly recommended when final image size being as small as possible is desired. The main caveat to note is that it does use musl libc instead of glibc and friends, so certain software might run into issues depending on the depth of their libc requirements. However, most software doesn't have an issue with this, so this variant is usually a very safe choice. See this Hacker News comment thread for more discussion of the issues that might arise and some pro/con comparisons of using Alpine-based images.

<X>

Latest tag of the latest major X Nmap version.

This is a multi-platform image.

<X.Y>

Latest tag of the concrete X.Y Nmap version.

This is a multi-platform image.

<X.Y>-r<N>

Concrete N image revision tag of the concrete X.Y Nmap version.

Once built, it's never updated.

This is a multi-platform image.

<X.Y>-r<N>-<os>-<arch>

Concrete N image revision tag of the concrete X.Y Nmap version on the concrete os and arch.

Once built, it's never updated.

This is a single-platform image.

License

Nmap is licensed under GPLv2 license.

As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.

The sources for producing instrumentisto/nmap Docker images are licensed under Blue Oak Model License 1.0.0.

Issues

We can't notice comments in the DockerHub (or other container registries) so don't use them for reporting issue or asking question.

If you have any problems with or questions about this image, please contact us through a GitHub issue.