Anchore Container Image Scanner Plugin gives error "REGISTRY_PERMISSION_DENIED"

33 views
Skip to first unread message

Alokkumar Mahajan

unread,
Sep 21, 2020, 11:20:17 AM9/21/20
to Jenkins Users
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
Reply all
Reply to author
Forward
0 new messages