question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for credsStore and credHelpers in config.json

See original GitHub issue

When 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:closed
  • Created 5 years ago
  • Reactions:12
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
rnorthcommented, Jun 18, 2019

@KostyaSha would you like us to contribute the credential store/helper code from Testcontainers, as mentioned by @bsideup?

2reactions
bsideupcommented, Jun 16, 2018

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found