Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: how does AUTH_HEADER work ? #14

Open
atodorov opened this issue Feb 8, 2022 · 1 comment
Open

Question: how does AUTH_HEADER work ? #14

atodorov opened this issue Feb 8, 2022 · 1 comment

Comments

@atodorov
Copy link
Contributor

atodorov commented Feb 8, 2022

@ahmetb I've played around with this app and I can successfully configure it to proxy a public image from either Docker Hub or quay.io on my custom domain.

I've tried using the AUTH_HEADER variable to expose private images (hosted on quay.io) to a non-authorized account but cound't get this to work. (my end goal is to have custom authorization handler).

What is unclear to me is should I set a value of
Basic XYZ where XYZ is the base64 encoded value you can find in ~/.docker/config.json or to some other value?

If you can explain how the authentication handshake happens between the client and the registry that would probably also help me.

Thanks.

@ahmetb
Copy link
Owner

ahmetb commented Feb 8, 2022

The code should be pretty explanatory. I believe it's used for basic authentication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants