Anchore Container Image Scanner Plugin gives error "REGISTRY_PERMISSION_DENIED"

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Anchore Container Image Scanner Plugin gives error "REGISTRY_PERMISSION_DENIED"

Alokkumar Mahajan
Hello,
I am getting below error from "Anchore Container Image Scanner Plugin" even though i have registered by private Harbor registry to Anchore Engine.

===============================================
  "detail": { "error_codes": [ "REGISTRY_PERMISSION_DENIED" ], "raw_exception_message": "Error encountered in skopeo operation. cmd=/bin/sh -c skopeo inspect --raw --tls-verify=false docker://docker.io/library/2c6cc9ad011e:latest, rc=1, stdout=None, stderr=b'time=\"2020-09-21T11:06:58Z\" level=fatal msg=\"Error parsing image name \\\\\"docker://docker.io/library/2c6cc9ad011e:latest\\\\\": Error reading manifest latest in docker.io/library/2c6cc9ad011e: errors:\\\\ndenied: requested access to the resource is denied\\\\nunauthorized: authentication required\\\\n\"\\n', error_code=REGISTRY_PERMISSION_DENIED" }, "httpcode": 400, "message": "cannot fetch image digest/manifest from registry" }  
===============================================

Not sure why it always tries to point to docker.io, anyone has any idea on how to fix this error?

Thanks

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/888c4d0e-97af-43d6-853f-9e670e59297an%40googlegroups.com.