Skip to content

Scanning private docker registry images using clair #1240

Answered by hdonnay
imaskm asked this question in Q&A
Discussion options

You must be logged in to vote

The clairctl binary understands the docker authn file and login flow, although it may not support more exotic flows. If clairctl's limited auth support isn't enough, you can always use the clair 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.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by hdonnay
Comment options

You must be logged in to vote
4 replies
@eldoranstars
Comment options

@hdonnay
Comment options

@eldoranstars
Comment options

@hdonnay
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants