-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Trivy Scan does not work (Failed to download vulnerability DB) #17061
Comments
this issue may due to your network config environment. please refer to this for more details:
Tried fresh deploying harbor 2.5.1 with offline installer in my vm, there is no such error:
|
@ytooyama could you try to set proxy for trivy and see if it works, i.e.
|
@zyyw Thanks. I'll try that. |
It was already set up.
Reference information:
I have set up Firewalled.
On the Docker Host, DNS name resolution is available!
But, It seems that ghcr.io cannot respond inside the container.
Set The dnf params (on the docker Host).
Didn't resolve.
Hmm ...It seems that ghcr.io cannot respond inside the container. |
I had a problem trying to run trivy with docker and may need to fix this issue. |
Sorry. I was trying to run it on Docker in an OpenStack instance. https://platform9.com/kb/openstack/no-connectivity-to-docker-containers-within-instance Set up again from scratch. |
Expected behavior and actual behavior:
Trivy Scan does not work
Steps to reproduce the problem:
Please provide the steps to reproduce this problem.
Installation environment:
Installation procedure:
Install the Harbor:
Go Harbor UI. Scan the Image, Then Result
Versions:
Please specify the versions of following systems.
Additional context:
harbor.yml
and files in the same directory, including subdirectory./var/log/harbor/
.The text was updated successfully, but these errors were encountered: