DeineAgenturUG / greenbone-gvm-openvas-for-docker

The Greenbone Vulnerability Management (GVM) and OpenVAS Scanner for Docker!
MIT License
24 stars 7 forks source link

Build with buildah: we need Capabilities and more settings! #24

Open Dexus opened 2 years ago

Dexus commented 2 years ago

To prevent the problems on execution of the openvas scanner, we need to build the container with caps support. This is only possible with buildah. Currently I was not able to find any other build tool, that support caps on build. Which prevents with correct caps settings inside the container the successful build of the release images.

openvas binary need to use NET_RAW and NET_ADMIN caps to record network activities. So we need to set them in the container, which will also need to setup the container later on user side correct.

Points: