-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSPD cannot find socket in docker container #550
Comments
Hey @gooseleggs the line For your other point, can you please provide the docker-compose.yml you used? Is it the current yml of the docs (https://github.com/greenbone/docs/blob/main/src/_static/docker-compose-22.4.yml)? |
It appears that this issue is in the wrong repository! Sorry - should it be moved? Anyway. Yes, I think I am using the 22.4 docker-compose.yml. I found a few around the place. This is the current one that I am using:
I have put the additional line in as per my previous comment. Without it, I found that a scan would complete in approx 1 minute. With the additional volume line in, it scanned for ~10 minutes on the one machine. |
Using the
docker-compose.yml
theopenvasd
service definition is missing the OSPD socket to connect to.The error is shown here:
This causes scans to be completed very quick.
Adding
- ospd_openvas_socket_vol:/var/run/ospd
to the volumes definition of the service and restarting, while giving the error means that the OSPD can execute the plugins.The error can probably be resolved by adding a dependency for startup.
The text was updated successfully, but these errors were encountered: