-
Notifications
You must be signed in to change notification settings - Fork 575
Private Repo Authentication: use auth token from ~/.dockercfg #104
Comments
@olkulyk It's certainly possible. What's the use case or problem you're looking to solve? |
+1 gcloud docker -a The first command updates the .dockercfg with temporary access tokens for *.gcr.io. Currently these are not picked up by the docker-maven-plugin, so there is an auth error when accessing the registry. |
+1 In addition, I can't get the authentication to work with the edits to settings.xml, fails with "{"error": "Unauthorized getting repository images"}". Forgot the stack trace: Exception caught: Error: Status 403 trying to pull repository vertx/vertx3-exec: "{"error": "Unauthorized getting repository images"}" -> [Help 1] |
We're definitely open to PRs on this :) |
+1 |
+1 |
1 similar comment
+1 |
spotify/docker-client#219 should help provide this. |
This should be addressed by spotify/docker-client#268. I'll close this for now. We can reopen if there are more issues. |
Is it be possible to use auth token from ~/.dockercfg (or ~/.docker/config.json) instead of using plain username/password authentication?
moby/moby#12009
The text was updated successfully, but these errors were encountered: