TOC & Recently Viewed

Recently Viewed Topics

Configure NNM in a Docker Container

Before You Begin

Install an instance of NNMNessus Network Monitor in a Docker container.


FROM centos:7


ADD /nnm-5.0.0-es7.x86_64.rpm /nnm-5.0.0-es7.x86_64.rpm

RUN rpm -i nnm-5.0.0-es7.x86_64.rpm;

ENV PATH /opt/nnm/bin:$PATH

CMD /opt/nnm/bin/nnm && /opt/nnm/bin/nnm-proxy


  1. Copy the text of the Dockerfile section above and paste them in a file named Dockerfile.
  2. Copy the NNM *.rpm and paste it in the directory where you pasted the Dockerfile.
  3. In a Linux shell, run the cd command to navigate to the directory that contains Dockerfile and the NNM *.rpm and run the following command:

    docker build -t centos/nnm .

  4. Run the Docker container that contains NNM using the following command:

    docker run --net=host -d -p 8835:8835 centos/nnm

    Tip: If you need to interact with NNM from the shell, you can run the following command instead: docker run --net=host -t -i -p 8835:8835 centos/nnm

  5. Navigate to https://<IP address or hostname>:8835, which will display the NNM web front end to log in.

    Refer to the Configure NNM section of the NNM user guide for configuration instructions.

  6. In step 5 of the Configure NNM instructions, configure the monitored network interfaces depending on your needs, outlined in the Monitored Interfaces section of this guide.

Copyright © 2019 Tenable, Inc. All rights reserved. Tenable,, Tenable Network Security, Nessus, SecurityCenter, SecurityCenter Continuous View and Log Correlation Engine are registered trademarks of Tenable, Inc.., Lumin, Assure, and the Cyber Exposure Company are trademarks of Tenable, Inc. All other products or services are trademarks of their respective owners.