Gvmd --host=0.0.0.0 --port=9390 in community containers

Hi,

I am following this guide to get Greenbone working. All looks good with docker compose, localhost:9392 works fine.

Now, I am interested in contributing to Greenbone. One of the requirements I have before I start is to make the gvmd service listening on port 9390 in docker.

What I changed in docker-compose.yml is I added GVMD_ARGS: '"--port=9390 --listen=0.0.0.0"' docker-compose.yml and mounted all the required certificates in docker container running gvmd service.

At the starting time I get a warning Failed to create manager address 0.0.0.0" and of course gvmd is not listening:

Any idea helping to address that issue?

resolved
I have to set GVMD_ARGS: --port=9390 --listen=0.0.0.0 with no quotes

2 Likes

Hi, i am having same issue --port=9390 not listening in kali even all the files are correct and also about Jun 10 13:53:12 kali systemd[1]: gvmd.service: Can’t open PID file /run/gvmd/gvmd.pid (yet?) after start: No such file or directory. Even the directory or file is present. Please help me to solve these. I am in urgent need.
Thanks in advance