Nomad: Docker auth from docker config

Created on 8 Jan 2016  路  1Comment  路  Source: hashicorp/nomad

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.

themdrivedocker typenhancement

Most helpful comment

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

>All comments

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

Was this page helpful?
0 / 5 - 0 ratings