Deploy gvm into docker container


we decided to share some knowledge, howto deploy multiple gvm docker container using ansible on a host.
The example can be found here: gvm10_docker_deployment.yml
Every 24h there will be a sync triggered through a systemd timer on the first docker container. The other docker containers will also reload nvts, scap data… due to the shared volume between the docker containers.

After deployment you can access gvm through https:
YOUR-DOCKER-HOST-IP:1443 # first container
YOUR-DOCKER-HOST-IP:2443 # second container
YOUR-DOCKER-HOST-IP:3443 # third container
YOUR-DOCKER-HOST-IP:4443 # fourth container

or using the python-gvm library (gmp protocol)
YOUR-DOCKER-HOST-IP:19390 # first container
YOUR-DOCKER-HOST-IP:29390 # second container
YOUR-DOCKER-HOST-IP:39390 # third container
YOUR-DOCKER-HOST-IP:49390 # fourth container

Kind regards,

GVM versions

gsa: 8.0.1
gvm: 8.0.1
openvas-scanner: 6.0.1
gvm-libs: 10.0.1


Operating system: ubuntu 18.04 lts
Kernel: (‘uname -a’) 4.15.0-65-generic
Installation method / source: from source inside docker