Run Nessus Essentials in Docker: Setup Guide for Nessus 10.12

Photo by Tima Miroshnichenko on Pexels
Based on the official docs for Nessus 10.12.7 Hardware test not run How guides are made and checked

Tenable Nessus Essentials is the free edition of the Nessus vulnerability scanner, and running it in Docker keeps it tidy and separate from the rest of your server. This guide uses Tenable’s official tenable/nessus image to get Nessus running, register it with an Essentials activation code and run a first scan of your own network.

Only scan systems you own or have written permission to test. A vulnerability scan sends a lot of traffic and probes every service it finds, so point it at your own home lab or small office network, not someone else’s.

What changed in 2026

If you set Nessus Essentials up a while ago, a few things are different now:

  • Fewer IPs. Tenable’s Nessus Essentials page now says Essentials can scan up to 5 IPs (it was 16 when Nessus Home became Nessus Essentials). It is described as a 30-day free licence for evaluations, proof-of-concept testing or “securing a very small home network”, and is strictly for non-commercial use.
  • Slower plugin updates and fewer features. The same page lists a 30-day delay on plugin updates, and no compliance checks, reporting, data export, Live Results or technical support for Essentials. The FAQ notes that your scan data is not kept after the licence expires.
  • Paid step up. Nessus Essentials Plus (20 IPs, real-time plugin updates and basic PDF and HTML reports) is listed at US$199 a year, and verified students and instructors can get a free one-year licence.
  • Current version. The latest release is Nessus 10.12.7 (17 November 2026), according to the Nessus 2026 release notes.

If 5 IPs is too tight for your lab, the open source alternative is Greenbone. My guide to setting up Greenbone (OpenVAS) with Docker Compose covers that.

Security notes: patch your scanner too

A vulnerability scanner holds credentials and scan results, so keep it up to date. Tenable published several Nessus advisories in 2026 (Tenable security advisories). The two most recent:

  • TNS-2026-26 (1 October 2026, rated Critical): nine CVEs in Nessus 10.12.4 and earlier, including an SQL injection. Fixed in 10.12.5.
  • TNS-2026-36 (17 November 2026, rated Medium): six CVEs in Nessus 10.12.6 and earlier, including HTML injection through saved filter names and a world-readable nessuscli bug report archive. Fixed in 10.12.7, which also updates expat to 2.10.0.

Running anything older than 10.12.7? Update before you scan.

Nessus vs Nmap

Both are useful, but they do different jobs. Nmap discovers hosts and open ports and identifies the services behind them. Nessus takes the next step: it checks those services against a large library of plugins for missing patches, weak configuration and known vulnerabilities, and gives you a report with fixes.

A good habit is to run Nmap first to see what’s actually listening (my Nmap cheat sheet has the commands), then point Nessus at the hosts that matter.

What you need

  • A Linux host with Docker Engine and the Docker Compose plugin (docker compose version should print a version). The Nessus images are built for x86_64 and AArch64.
  • Enough free disk space and memory for the plugin set. Nessus downloads and compiles its plugins on first start.
  • A Nessus Essentials activation code (next step).
  • Permission to scan the network you point it at.

Step 1: Get an activation code

Fill in the registration form on the Nessus Essentials page (or the activation code page) with your name and email address. Tenable emails you the code.

You can also skip this and register from inside Nessus during setup (Step 4). Either way, the code ends up in the same place.

Step 2: Create the compose file

Tenable’s Docker deployment docs describe two base images, Oracle Linux 8 and Ubuntu, tagged as tenable/nessus:<version-OS>. You can use latest in place of a version, for example latest-ubuntu, or pin a version so upgrades only happen when you choose.

Make a folder and a compose.yaml file:

mkdir -p ~/nessus && cd ~/nessus
nano compose.yaml
services:
  nessus:
    image: tenable/nessus:latest-ubuntu
    container_name: nessus
    ports:
      - "127.0.0.1:8834:8834"
    environment:
      USERNAME: "nessusadmin"
      PASSWORD: "change-me-to-a-long-password"
    restart: unless-stopped

A few notes:

  • The container port must be 8834. The 127.0.0.1: prefix keeps the web interface off your network so only the host can reach it. Remove it ("8834:8834") if you need to open Nessus from another machine on a trusted network.
  • USERNAME and PASSWORD create the first admin account. Use a long, unique password. Tenable notes passwords can’t contain Unicode characters.
  • The version: line from older compose files is no longer needed with Docker Compose v2, so it’s gone.
  • Tenable documents an ACTIVATION_CODE variable for Nessus Professional. For Essentials, registering in the web wizard in Step 4 is the documented path, so the code isn’t in this file.

Already have a long docker run command from Tenable’s docs? Paste it into the docker run to Compose Converter and it writes the compose file for you.

Step 3: Start the container

docker compose up -d
docker compose logs -f nessus

Docker pulls the image and starts Nessus. Press Ctrl+C to stop following the logs; the container keeps running. docker compose ps should show it as running.

Step 4: Finish setup in the browser

Open https://localhost:8834 on the host (or https://<server-ip>:8834 if you published the port to your network). Nessus uses a self-signed certificate, so your browser warns you the first time.

The setup wizard in Tenable’s install guide goes like this:

  1. On Welcome to Nessus, click Continue, then choose Register for Nessus Essentials.
  2. On Get an activation code, enter your name and email to have one sent, or click Skip if you already have one.
  3. On Register Nessus, paste the activation code and click Continue.
  4. If asked to Create a user account, enter a username and password and click Submit.
  5. Wait. Nessus downloads its plugins and says configuration “may take several minutes”. After you sign in you’ll see “Plugins are compiling”, and scans and policies stay unavailable until that finishes.

If you already set it up and want to swap codes later, go to Settings > About, click the edit button next to Activation Code, choose the registration type, paste the new code and click Activate.

Step 5: Run a basic network scan

  1. Go to Scans and click New Scan.
  2. Choose Basic Network Scan.
  3. Give it a name and enter your targets: single IPs, a range or a CIDR block. With Essentials, keep it to 5 hosts or fewer.
  4. Click Save, then Launch.
  5. Open the scan to watch progress and review the results by severity.

Nessus reports each finding with a CVSS score. If you want to understand what drives that number, my post on how CVSS scores work explains the metrics, so you can decide what to fix first.

Keeping it safe

  • Don’t expose port 8834 to the internet. Keep it on 127.0.0.1 or your management network, or reach it over a VPN.
  • Data doesn’t survive a rebuild. Tenable’s Docker docs say Nessus does not support storage volumes, and deploying a new image loses your data. If you keep scan results you care about, note them down before you remove or recreate the container.
  • Keep Nessus patched. Check the Tenable security advisories and the release notes, and stay on the latest 10.12 release.
  • Scan only what you’re allowed to. Your own hosts, or ones you have written permission to test.

Troubleshooting

  • “Plugins are compiling” for a long time. This is normal on first start and after big plugin updates. Scans, policies and plugin rules are limited until it finishes. Give the container enough RAM and leave it alone.
  • The container stops after you add a bind mount. People who mounted a host folder over /opt/nessus/var/nessus/ hit missing plugin files (Docker forum thread). A bind mount hides the files the image ships with, and Tenable says it doesn’t support storage volumes. Remove the mount.
  • Scans skip hosts. Essentials is limited to 5 IPs. Narrow your targets, or move to Essentials Plus or Greenbone for more.
  • Older plugins than you expected. Essentials gets plugin updates 30 days late, so very new CVEs may not show up yet.
  • The browser can’t connect. Check docker compose ps, make sure you’re using https:// and port 8834, and if you used the 127.0.0.1: prefix, open it from the host itself.

Sources

Updated 26 November 2026: rewritten for Nessus 10.12.7 and the official Docker image, with the new 5 IP Essentials limit, 2026 security advisories, a safer compose file and troubleshooting.