Secure-Compliance-Solutions-LLC / GVM-Docker

Greenbone Vulnerability Management Docker Image with OpenVAS
https://securecompliance.gitbook.io/projects/
MIT License
246 stars 91 forks source link

Failed to find config 'd21f6c81-2b88-4ac1-b7b4-a2a9f2ad4663'[Bug] #279

Closed epochfairy closed 2 years ago

epochfairy commented 2 years ago

docker run --detach --publish 9392:9392 --volume gvm-data:/data --name gvm securecompliance/gvm:latest-data-full

new scan config

Failed to find config 'd21f6c81-2b88-4ac1-b7b4-a2a9f2ad4663'

Dexus commented 2 years ago

This is not a bug. You run with old parameters. Also you need to wait for the init has finished. Look to the GSA WebUI for the Feeds.

epochfairy commented 2 years ago

Which command to use to execute it

Dexus commented 2 years ago

Maybe you will have a look to https://securecompliance.gitbook.io/projects/openvas-greenbone-deployment-full-guide

epochfairy commented 2 years ago

docker run --detach --publish 8080:9392 --publish 5432:5432 --publish 2222:22 --env DB_PASSWORD="postgres DB password" --env PASSWORD="webUI password" --volume ./storage/postgres-db:/opt/database --volume ./storage/openvas-plugins:/var/lib/openvas/plugins --volume ./storage/gvm:/var/lib/gvm --volume ./storage/ssh:/etc/ssh --name gvm securecompliance/gvm:latest-data-full

docker: Error response from daemon: create ./storage/gvm: "./storage/gvm" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path. See 'docker run --help'.