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

Docker auth from docker config #660

Closed
jbardin opened this issue Jan 8, 2016 · 2 comments
Closed

Docker auth from docker config #660

jbardin opened this issue Jan 8, 2016 · 2 comments

Comments

@jbardin
Copy link
Member

jbardin commented Jan 8, 2016

I know secrets management is forthcoming, but it would also be nice if nomad could get docker auth from the default docker config files.

The client could just attempt to call NewAuthConfigurationsFromDockerCfg.

I'm trying to get nomad to pull images from an AWS ECR, which requires obtaining a new auth password from the API every 12 hours. The CLI command aws ecr get-login returns a docker login command to be eval'ed in the shell, which in turn is written to ~/.docker/config.json.

@jaygorrell
Copy link

Why was this closed? ECR doesn't behave like a standard private registry as the referenced PRs deal with.

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants