You are here: Docker > Configure PVS in a Docker Container

Configure PVS in a Docker Container

Before You Begin

Install an instance of PVSPassive Vulnerability Scanner in a Docker container.

Dockerfile

FROM centos:7

EXPOSE 8835

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

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

ENV PATH /opt/pvs/bin:$PATH

CMD /opt/pvs/bin/pvs && /opt/pvs/bin/pvs-proxy

Steps

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

    docker build -t centos/pvs .

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

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

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

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

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

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

Copyright © 2017. Tenable Network Security, Inc. All rights reserved. Tenable Network Security, Nessus, SecurityCenter Continuous View, Passive Vulnerability Scanner, and Log Correlation Engine are registered trademarks of Tenable Network Security, Inc. All other products or services are trademarks of their respective owners.