https://github.com/dgiorgio/gvm-docker
$ cd gvm-docker/docker-compose/stable
$ ./run_compose.sh
or
$ cd gvm-docker/docker-compose/stable
$ docker-compose -p gvm --env-file "../../dockerfile/VERSIONS" -f docker-compose.yml up -d
$ cd ansible-gvm
$ ansible-playbook start_gvm.yml
Get 'admin' password:
$ docker logs gvm_gvm-gvmd_1 2> /dev/null | grep 'password:'
$ docker exec -ti gvm_gvm-gvmd_1 gvmd --user=admin --new-password=gvmpass
Access web browser: https://localhost
Check the feed logs of the gvmd and openvas containers.
docker logs -f --tail 25 gvm_gvm-gvmd_1
docker logs -f --tail 25 gvm_gvm-openvas-scanner_1
Check the content of the pages through the GSA.
https://localhost/nvts
https://localhost/cves
https://localhost/cpes
https://localhost/portlists
https://localhost/scanconfigs
If the pages are empty, or display an error message. You should check the update of the feeds, it may take a long time to install.
You can use a private feed server to optimize updates, more details in the project below.
https://github.com/dgiorgio/gvm-feed-server
This Docker image is licensed under the BSD, see LICENSE.