This repository includes Docker configurations to run Greenbone's OpenVASD scanner and feed synchronization as separate containers. It supports scanning on demand, shared feed volumes, and optional API key or mTLS security.
cd linux/feed
docker build -t greenbone-feed-sync .cd ../openvasd
docker build -t openvasd-scanner .cd feed
docker compose up -d
cd ../openvasd
docker compose up -dEdit openvasd/config.toml:
[endpoints]
enable_get_scans = true
key = "your-api-key"[tls]
certs = "/certs/server.pem"
key = "/certs/server.rsa"
client_certs = "/certs/client"Make sure to mount /certs into the container.
Both containers must share these volumes:
/var/lib/openvas/plugins/var/lib/notus
These paths should be mounted as volumes or bind mounts.
- The OpenVASD service listens on
127.0.0.1:3001by default. - You can change the port in
config.toml. - Redis runs inside the container using a UNIX socket.
See the LICENSE file for details.