Update feeds in docker

How can I update the various CVE and NVT entries within a GVM docker image?

This heavily depends where you did get the images from. It’s up to the author of the container image how it works exactly.

I got them from here

I run the following but they are all rejected

root@xg-sensor-hq:/home/lmqadmin# /opt/gvm/sbin/greenbone-feed-sync --type CERT
rsync: [Receiver] failed to connect to feed.community.greenbone.net (45.135.106.143): Connection refused (111)
rsync: [Receiver] failed to connect to feed.community.greenbone.net (2a0e:6b40:20:106:20c:29ff:fe7f:d2ae): Network is unreachable (101)
rsync error: error in socket IO (code 10) at clientserver.c(137) [Receiver=3.2.3]

Our docs clearly mention how to update the feed. In detail.

my last message shows I am running the correct commands but it doesnt work.

looking at other posts looks like a common problem.

Where did you read that you should update the content of the docker images provided by Greenbone by running the command /opt/gvm/sbin/greenbone-feed-sync --type CERT? We don’t install anything to /opt/gvm. Even not in the source build docs.

If you are following Greenbone Community Containers 22.4 - Greenbone Community Documentation you should take a look at Workflows - Greenbone Community Documentation more carefully!

1 Like

2 posts were split to a new topic: Cronjob to update feeds?