Nessus 7.0.3 in a Centos based docker container
Project URL: https://github.com/cleanerbot/docker-nessus
Docker registry: https://registry.hub.docker.com/u/sometheycallme/docker-nessus
https://www.tenable.com/products/nessus/activation-code
Here are a few useful things to know.
-
BYOL: Register your product. Save the image after registration.
-
Image: Cleanerbot/docker-nessus installs Nessus in a single image, then copies the data over after a proper installation to a data image.
-
Docker volumes: When separating nessusd from the licensing-data you need to copy data over from the licensed image
/sbin /var and /etc
Nessus likes to pull in a bunch of plugins after you register, on the order of 5GB -
Mac-address: Use the same Mac address during run-time for license you apply to be respected by Nessus.
Create a Docker-Nessus Daemon, and Docker-Nessus-Licensed-Data Volume.
Thanks @seccubus and @jumanjiman !
make unlicensed
To create a running unlicensed container that you can then license to yourself
make licensed
To turn this container into a licensed nessus container
make
To run the newly created container
For details see the PROCEDURES.md that captures previous steps and ideas for building the image.
Another way to do it: @jcwx has some nice procedures written up on how to preserve your existing Nessus and build a docker image.
https://github.com/jcwx/docker-nessus
There are other images out there too: https://hub.docker.com/r/treadie/nessus/