-
Notifications
You must be signed in to change notification settings - Fork 126
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
Image on Docker Hub broken? #208
Comments
Same for https://public.ecr.aws/aquasecurity/trivy-db (781Byte)? |
I am getting
Also it is 0B. Isn't this image supposed to contain the Vulnerability DB for Trivy? So you can use this image in an airgapped environment as the DB via the ENV variable |
I'm not sure that it should work. |
@afdesk Is it intentional that the image is 32 byte? |
@mayrstefan @maltewhiite so sorry, i missed this issue. It is old version of Trivy DB and is deprecated now: aquasecurity/trivy#1653 you need to use $ oras pull ghcr.io/aquasecurity/trivy-db:2 -a |
I am experiencing a similar issue on a Mac (nothing to do with air-gap - fully connected to the Internet). Here the details:
ghcr.io is accessible via ping:
Pulling the DB gives the above error:
Here is Trivy vestion:
Shouldn't Trivy automatically pull the DB and use it? Why do we need to use ORAS separately to pull the DB? Interestingly exactly the same commands are working on Ubuntu 22.04. The MacOS version is 12.4 (Intel based) Docker version is 4.9.1 |
@toddysm your issue looks temporary. also $ oras pull ghcr.io/aquasecurity/trivy-db:2 -a |
@toddysm Trivy automatically pulls and updates the DB. |
We have updated to 0.29.2 now, so this is no longer a problem for me and my team. |
I upgraded to 0.29.2 but still hitting the error. I have the suspicion that this may be a local issue but seem pretty hard to troubleshoot. |
Should https://hub.docker.com/r/aquasec/trivy-db/ not be the same as https://ghcr.io/aquasecurity/trivy-db? The image on Docker Hub is regularly updated but seems to be empty (32 Byte). Or is this on purpose?
The text was updated successfully, but these errors were encountered: