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

Images from a private registry / auth #71

Closed
mmack opened this issue Dec 2, 2020 · 7 comments
Closed

Images from a private registry / auth #71

mmack opened this issue Dec 2, 2020 · 7 comments

Comments

@mmack
Copy link

mmack commented Dec 2, 2020

It would be great to support the auth flag like the docker driver does: https://www.nomadproject.io/docs/drivers/docker#authentication

@rodericliu
Copy link

I have been testing this plugin, eveything works fine except the registry authentication. It would be great to have this.

@towe75
Copy link
Collaborator

towe75 commented Jan 15, 2021

Yes, this is a important feature. We will try to add it soon.

@towe75
Copy link
Collaborator

towe75 commented Jan 16, 2021

I checked our options. So far i found that the http API supports only very simple username/password authentication: https://docs.podman.io/en/latest/_static/api.html#operation/libpodImagesPull . I can imagine that we rather want credential helper support for AWS ECR and that alike.

On the other hand: console allows to use credential helpers and docker compatible auth files: https://www.mankier.com/5/containers-auth.json

What's your opinions? Should we start with a simple username/password option and grow it later once there is better API available?

It's quite possible that we could use the http API with credential helpers and that only some documentation is missing, see containers/podman#8993

@towe75
Copy link
Collaborator

towe75 commented Jan 22, 2021

It's indeed not possible to configure credential helpers via http API. This means that i will only implement a simple username/password authentication at this time.

@elimisteve
Copy link

@towe75 Sounds great to me! 👍

@towe75
Copy link
Collaborator

towe75 commented May 19, 2021

Implemented via #112

@kholisrag
Copy link

can we use this method to auth from AWS ECR private repo?

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

5 participants