Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Error pulling image

25 views
Skip to first unread message

Manan shah

unread,
Mar 4, 2022, 6:19:34 AM3/4/22
to clai...@googlegroups.com
Hello Team, 

When I am trying to pull and image from harbor using docker it works completely fine but when trying trying using clair it throws a error message  "x509: certificate signed by unknown authority". could you please help me on the same. shall be awaiting for your response

Thanks & Regards In Advance Manan shah


Hank Donnay

unread,
Mar 4, 2022, 10:42:31 AM3/4/22
to clai...@googlegroups.com
On Fri, Mar 04, 2022 at 04:49:21PM +0530, Manan shah wrote:
>When I am trying to pull and image from harbor using docker it works
>completely fine but when trying trying using clair it throws a error
>message *"x509: certificate signed by unknown authority". *could you
>please help me on the same. shall be awaiting for your response

You'll need to provide the custom CAs. You can add the certificate to
the trust store to the system, or set the `SSL_CERT_DIR` environment
variable. If you're using our release container, `/var/run/certs` is
already added to that environment variable for this purpose.

--
hank

Reply all
Reply to author
Forward
0 new messages