-
Hi, Can we scan docker images on a private docker registry using clairctl or by calling the APIs directly? or do we need to write a separate flow for that? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
The
|
Beta Was this translation helpful? Give feedback.
-
Can you help plz? |
Beta Was this translation helpful? Give feedback.
The
clairctl
binary understands the docker authn file and login flow, although it may not support more exotic flows. Ifclairctl
's limited auth support isn't enough, you can always use theclair
HTTP APIs directly by creating and submitting manifests.Clair
should be given all the information it needs to fetch layers in its manifest, whether that takes the form of signed URLs or a URL and additional headers to send with the request is dependent on how the layers are hosted.