nessus-scanner icon indicating copy to clipboard operation
nessus-scanner copied to clipboard

Unofficial Nessus Scanner Docker container Image.

Unofficial Nessus Essential Scanner

License Docker GitHub last commit GitHub Workflow Status Docker Image Size

Tenable's Nessus Scanner is a vulnerability scanner that looks for known vulnerabilities, configuration issues and more by inspecting hosts over the network. For more information about Nessus, see the following link:

▶️ Nessus Docs

[!WARNING]
The content of this repo* is licensed under GPL-3.0 license. You will need to check the Nessus scanner license if you want any other commercial use.

💪 Distroless

In this project, only what is essential for running the application is used. Using the image from gcr.io/distroless/base-debian12 a working image of minimum size will be provisioned.

📋 Requirements for build and use

  • Docker, Podman, DockerSlim or Containerd/nerdctl.
  • License to use Nessus. You can get it here.

You can safely inspect and use my already compiled image or build your own based on the instructions below.

🐳 Docker

Build:

  • Clone this repository.
  • Run the command: docker buildx build -t ciromota/nessus-scanner:latest .
  • Or uncomment line 5 in docker-compose.yml for build and run.

Usage:

docker container run -td --name nessus-scanner -p 8834:8834 -v \
/etc/localtime:/etc/localtime ciromota/nessus-scanner:latest

Or through docker-compose: docker-compose up -d.

  • Access https://localhost:8834

🦭 Podman

Podman is a container engine for developing, managing and executing containers as an alternative to Docker.

Build:

  • Clone this repository.
  • Run the command: podman build -t ciromota/nessus-scanner:latest -f .
  • Or uncomment line 5 in docker-compose.yml for build and run.

Usage:

Practically the same as Docker.

podman run -td --name nessus -p 8834:8834 -v \
/etc/localtime:/etc/localtime ciromota/nessus-scanner:latest

Or through docker-compose: docker-compose up -d.

  • Access https://localhost:8834

➖ DockerSlim

DockerSlim brings a new experience in container management keeping its same workflow, producing a smaller and secure container.

Consult the documentation and learn about all its functions.

Build and usage:

You can run DockerSlim on top of the previously built image and reduce the size of the Nessus Scanner image without harm, just use the command below:

docker-slim build ciromota/nessus-scanner

Or, it is possible with the help of DockerSlim itself to build a new image based on the Dockerfile file contained in this repo. Use the command below:

docker-slim build --dockerfile Dockerfile --show-blogs --tag ciromota/nessus-scanner.slim .

In both cases, you can run the container in the same way:

docker container run -td --name nessus -p 8834:8834 -v \
/etc/localtime:/etc/localtime ciromota/nessus-scanner.slim
  • Access https://localhost:8834

🤓 nerdctl

nerdctl is a Docker-compatible CLI for containerd. Its syntax is basically the same used for Docker and Podman for example. Besides being rootless, it has other interesting functions, I recommend getting to know it.

Build:

  • Clone this repository.
  • Run the command (BuildKit will need to be installed first. See documentation.):
nerdctl image build -t ciromota/nessus-scanner:latest .
  • Or uncomment line 5 in docker-compose.yml for build and run:
nerdctl compose -f docker-compose.yml up -d

Usage:

nerdctl run -d --name nessus-scanner -p 8834:8834 -v \
/etc/localtime:/etc/localtime ciromota/nessus-scanner:latest

Or through docker-compose: nerdctl compose up -d

  • Access https://localhost:8834

✔️ Official Container

Tenable Nessus since from version 8.x.x has its official container image if you wish to use an image from the developer himself.

▶️ https://hub.docker.com/r/tenableofficial/nessus

🎁 Sponsoring

If you like this work, please give me it a star here on GitHub and consider supporting it:

PayPal