Configure Tenable Network Monitor in a Docker Container

Before You Begin

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

Dockerfile

FROM centos:7

EXPOSE 8835

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

Steps

  1. Copy the text of the Dockerfile section above and paste them in a file named Dockerfile.
  2. Copy the Tenable Network Monitor *.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 Tenable Network Monitor *.rpm and run the following command:

    docker build -t centos/nnm .

  4. Run the Docker container that contains Tenable Network Monitor using the following command:

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

    Tip: If you need to interact with Tenable Network Monitor 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 Tenable Network Monitor web front end to log in.

    See Configure Tenable Network Monitor in the Tenable Network Monitor user guide for configuration instructions.

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