Stay organized with collections Save and categorize content based on your preferences.
gcloud
as a Docker credential helper
gcloud auth configure-docker
[REGISTRIES
] [GCLOUD_WIDE_FLAG …
]
credHelper
entry to Docker's configuration file, or creates the file if it doesn't exist. This will register gcloud
as the credential helper for all Google-supported Docker registries. If the Docker configuration already contains a credHelper
entry, it will be overwritten.
Note: docker
and gcloud
need to be on the same system PATH
to work correctly.
Note: This command will not work for docker
installed via Snap, as the docker
snap package does not currently provide an interface for credential helpers.
For more details on Docker registries, see https://docs.docker.com/registry/.
For more details on how to authenticate to Google Container Registry using this command, see https://cloud.google.com/container-registry/docs/advanced-authentication#gcloud-helper.
For more details on Google Container Registry's standalone credential helpers, see https://github.com/GoogleCloudPlatform/docker-credential-gcr.
For more details on Docker credential helpers, see https://docs.docker.com/engine/reference/commandline/login/#credential-helpers.
gcloud auth configure-docker
To configure docker authentication with Container Registry, e.g., gcr.io
, run:
gcloud auth configure-docker gcr.io
REGISTRIES
]
--access-token-file
, --account
, --billing-project
, --configuration
, --flags-file
, --flatten
, --format
, --help
, --impersonate-service-account
, --log-http
, --project
, --quiet
, --trace-token
, --user-output-enabled
, --verbosity
.
Run $ gcloud help
for details.
gcloud alpha auth configure-docker
gcloud beta auth configure-docker
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-07 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4