gcloud auth configure-docker

Category: Google Cloud & Workspace

gcloud auth configure-docker

Configure Docker to push to Google registries

Registers gcloud as a credential helper so docker push and docker pull work against gcr.io, us.gcr.io and similar registries using your current gcloud login. Run it once after installing Docker or after re-authenticating. Afterwards you can push images with docker push gcr.io/my-project-123456/web-app:v1.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.