Support for credsStore and credHelpers in config.json
See original GitHub issueWhen using docker for mac or google cloud docker makes use of credential helpers. It doesn’t appear as if this library has support for either and only supports configurations that keep the password unencrypted in the config file. Support for credential helpers would be useful for high-security environments.
{
"credsStore" : "osxkeychain",
"credHelpers" : {
"staging-k8s.gcr.io" : "gcloud",
"asia.gcr.io" : "gcloud",
"us.gcr.io" : "gcloud",
"eu.gcr.io" : "gcloud",
"gcr.io" : "gcloud"
}
}
Issue Analytics
- State:
- Created 5 years ago
- Reactions:12
- Comments:9 (3 by maintainers)
Top Results From Across the Web
docker login - Docker Documentation
You can log into any public or private repository for which you have credentials. When you log in, the command stores credentials in...
Read more >What a Mysterious Bug Taught Us About How Docker Stores ...
docker/config.json , there are two fields you can use to configure how Docker gets and stores credentials: credsStore and credHelpers .
Read more >A magic shim for Docker credential helpers | by Josh Dolitsky
Credential helpers are executables located in the user's PATH , available at docker-credential-<name> . These can be configured on a per-domain ...
Read more >How can i use ecr with normal docker login from other registry
I want to use normal docker login for normal stuff but for ecr i want to credHelpers as mentioned in ...
Read more >Configuring "auth" and "credsStore" for different Docker registry
Since docker 1.13.0 you can use the new credHelper format instead. I came here from Google having the exact same problem with credStore...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@KostyaSha would you like us to contribute the credential store/helper code from Testcontainers, as mentioned by @bsideup?
FYI credHelpers support just got merged in Testcontainers project: https://github.com/testcontainers/testcontainers-java/pull/729
We might consider moving it to docker-java in future