Accessible at Greenbone
Visible at feed status page
Run `docker logs greenbone -f` to follow logs.
Follow the instructions with the persistent volume here: https://immauss.github.io/openvas/
10/May - instructions contains were Start the container with a persistent volume:
docker run –detach –publish 8080:9392 -e PASSWORD=“Your admin password here” –volume openvas:/data –name openvas immauss/openvas
You can use whatever –name you’d like but for the sake of this guide we’re using openvas.
The –publish 8080:9392 option will port forward 8080 on the host to 9392 (the container web interface port) in the docker container. Port 8080 was chosen only to avoid conflicts with any existing OpenVAS/GVM installation. You can change 8080 to any available port that you`d like.
Note, the current startup parameters are
docker run --name=openvas \ --env=PASSWORD=ozzrules \ --volume=openvas:/data \ -p 8080:9392 \ --restart=no \ --runtime=runc \ --detach=true \ immauss/openvas
To upgrade Greenbone, you must upgrade the docker image and then restart the container.
docker ps docker pull [docker_image] immauss/openvas docker stop <the-container-id> openvas docker rm <the-container-id> openvas docker run [add parameters as above]
Sample Upgrade Command history
docker ps docker pull immauss/openvas docker stop openvas docker rm openvas docker run --name=openvas --env=PASSWORD=ozzrules --volume=openvas:/data -p 8080:9392 --restart=no --runtime=runc --detach=true immauss/openvas docker ps docker logs -f openvas