-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
support other registries (quai.io, Azure Container Registry, private Harbor, etc.) #229
Comments
There's a similar issue using a private Harbor-based registry:
Setting Note that this occurs even if Let me know if this warrants its own issue. |
Today, I encountered the same error while scanning one of the images from Azure Container Registry anonymous repo.
|
Would be nice if you change the title to |
Created auxiliary upstream issue genuinetools/reg#198, but we can apply some easy workaround here and now as well, I guess. |
Workaround for a deficient Ping implementation of reg package. Ping fails on docker registries that return http 401 Authentication Required when requesting general /v2 url, but happily allow unauthenticated pull of a specific image. Closes aquasecurity/trivy#229 Signed-off-by: Jakub Bielecki <[email protected]>
Workaround for a deficient Ping implementation of reg package. Ping fails on docker registries that return http 401 Authentication Required when requesting general /v2 url, but happily allow unauthenticated pull of a specific image. Closes aquasecurity/trivy#229 Signed-off-by: Jakub Bielecki <[email protected]>
Workaround for a deficient Ping implementation of reg package. Ping fails on docker registries that return http 401 Authentication Required when requesting general /v2 url, but happily allow unauthenticated pull of a specific image. Closes #229 Signed-off-by: Jakub Bielecki <[email protected]>
feat: add unit tests for Cloudstack Compute rules
Description
Trivy is unable to create a registry client to pull Quay.io hosted images.
However, if I first pull the image and then scan it on the host machine (by mounting
docker.sock.
), Trivy succeeds:Output of run with
-debug
:Output of
trivy -v
:The text was updated successfully, but these errors were encountered: