Recently Viewed Topics
Configure PVS in a Docker Container
Before You Begin
Install an instance of PVSPassive Vulnerability Scanner in a Docker container.
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
- Copy the text of the
Dockerfilesection above and paste them in a file named
- Copy the PVS
*.rpmand paste it in the directory where you pasted the
In a Linux shell, run the
cdcommand to navigate to the directory that contains
Dockerfileand the PVS
*.rpmand run the following command:
docker build -t centos/pvs .
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
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.
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.