Nomad: [feature] Docker Credential Helper

Created on 19 Feb 2017  路  7Comments  路  Source: hashicorp/nomad

It would be very useful if nomad supported Docker Credential Helpers. It would be especially helpful for Amazon's ECR which only supports logins that last for 12 hours. I made this same feature request to go-dockerclient, and it doesn't sound like there is much interest in adding it there.

themdrivedocker typenhancement

Most helpful comment

Fixed by #2651

All 7 comments

Hey @bantonj,

How will this help your problem of having to refresh the credentials? This just seems to be a different credential store?

@dadgar This would make the credential store refresh the credentials transparently, while right now I have to have a cron running in the background to keep refreshing the docker login.

@bantonj Cool! Would you mind linking docs and/or examples of this being integrated in other projects?

@dadgar I couldn't find anything in other projects, but here is how the docker cli does it. And here are the Docker docs regarding credential store helpers.

I need this too. I will look into making a patch

Fixed by #2651

Thanks @rawler this is a _big_ help and works great!

Was this page helpful?
0 / 5 - 0 ratings