AJNOURI / Google-Certified-Professional-Cloud-Architect

Googler Cloud Platform
MIT License
2 stars 1 forks source link

docker doesn't support "docker login -e" #5

Closed AJNOURI closed 7 years ago

AJNOURI commented 7 years ago

docker doesn't support "docker login -e" (email) option anymore docker login -e <email> -u oauth2accesstoken -p "$(gcloud auth print-access-token)" https://gcr.io

AJNOURI commented 7 years ago

Rather use command without -e docker login -u oauth2accesstoken -p "$(gcloud auth application-default print-access-token)" https://gcr.io