This is a GVM (OpenVAS) Docker image intended for one-off scans.
https://hub.docker.com/repository/docker/jeffleder/gvm-docker
docker volume create openvas
docker run --detach --publish 127.0.0.1:9392:9392 -e USERNAME="admin" -e PASSWORD="admin" --volume openvas:/data --name openvas --restart unless-stopped jeffleder/gvm-docker
--detach
switch will run the container in a detached state--publish 127.0.0.1:9392:9392
switch will forward host port 9392
to container port 9392
(the GSA web GUI port)9392
to any available port that you'd like (e.g. 8080
)127.0.0.1
part of the switch will force GSA to only listen for localhost connections-e USERNAME="admin"
switch allows you to specify a username to log into the GSAD web GUI with-e PASSWORD="admin"
switch allows you to specify a password to log into the GSAD web GUI with--volume
switch specifies the volume to use for persistent data--name
switch allows you to specify whatever freindly name you want for the container (this guide uses openvas
throughout)--restart unless-stopped
switch daemonizes the container (so it will restart on crash and/or system reboots)jeffleder/gvm-docker
item specifies the image to pull and run for the containerYou can verify that the container has completed loading by running:
docker logs openvas
If you see Your GVM container is now ready to use!
, the container is ready to go.
Access the web interface from the docker host via http://127.0.0.1:9392
Default Credentials:
Username: admin
Password: admin
This command will show you the GVM processes running inside the container:
docker top openvas
All the logs from /var/log/gvm/* can be viewed by running:
docker logs openvas
Autobuilds bake NVT/SCAP/CERT Data into the DockerHub image so that the latest build has the most recent feeds