Run Tenable.sc in a Docker container! I needed to run Tenable.sc on my laptop for demos and to have a lab environment for reference. Since I couldn't find anything already created, I'm releasing my work back to the open source community.
Two sample docker-compose files are included. docker-compose.yml includes a Nessus scanner (a requirement to run Tenable.sc) using the image from https://github.com/SteveMcGrath/docker-nessus_scanner. The docker-compose.sc.yml includes only Tenable.sc assuming you already have a Nessus scanner setup somewhere on your network or are using a hybrid deployment with Tenable.io.
docker-compose up
or
docker-compose -f docker-compose.sc.yml up
- Package management for Tenable.sc is handled through the Tenable repo.
- S6 overlay handles process supervision for
httpdand PHPJobd.phpfiles. - Tenable.sc files are installed to the
/opt/scvolume on initial container start or if theINSTALLenvironment variable is set to any value.
To upgrade the container, add the following flags to the docker-compose.yml file under the tenablesc service:
environment:
- INSTALL=yes
- SC_VER=5.17.0-el7
The SC_VER environment variable should match the package versions listed here: https://www.tenable.com/downloads/tenable-sc.
Released under MIT License. No support or endorsement is provided by Tenable for this product.