das Netzwerk docker_subnet muss angelegt sein oder an eigene Umgebung angepasst werden, oder die Zeilen Networks entfernen für Default
Volume ist ein Host bind
Docker-Compose
services:
OpenVAS:
container_name: "OpenVAS"
image: "immauss/openvas:latest"
restart: always
environment:
- "PASSWORD=admin"
- "USERNAME=admin"
- "RELAYHOST=172.17.0.1"
- "SMTPPORT=25"
- "REDISDBS=512" # number of Redis DBs to use
# - "QUIET=false" # dump feed sync noise to /dev/null
# - "NEWDB=false" # only use this for creating a blank DB
# - "SKIPSYNC=true" # Skips the feed sync on startup.
# - "RESTORE=false" # This probably not be used from compose... see docs.
# - "DEBUG=false" # This will cause the container to stop and not actually start gvmd
# - "HTTPS=false" # wether to use HTTPS or not
- "GMP=9390" # to enable see docs
ports:
- "9392:9392/tcp"
volumes:
- "/docker_data/openvas:/data"
networks:
docker_subnet:
ipv4_address: 172.18.0.15
networks:
docker_subnet:
external: true