docs: Adding instructions of how to authenticate to GCR/AR in FAQ #308
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue #, if available:
Description of changes:
Users are not able to authenticate to GCR/AR either by using service account key or authentication plugin.
Authenticating through service account key will save the credentials to an invalid path in the host OS -
/root/.docker/config.json
.Authenticating through auth plugin -
gcloud auth configure-docker
is not working now. It is supported for nerdctl but that would require us to install gcloud cli and docker in the VM. The implementation of auth plugin would need more analysis.More info: https://cloud.google.com/artifact-registry/docs/docker/authentication
This PR is to provide an instruction that gives users a quick workaround way to authenticate to GCR/AR.
Testing done:
Manual testing
License Acceptance
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.