Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

110
Views
Unable to run gcloud docker push from google compute engine instance

When I do gcloud docker push i get the following error.

denied: Unable to create the repository, please check that you have access to do so.

gcloud info shows correct project name as configured in gcloud.

Can somebody please guide me with this issue? Or suggest an alternative.

I have tried directly logging in without gcloud, login succeeds but push fails

$docker login -e 2983212121577-compute@developer.gserviceaccount.com -u oauth2accesstoken  -p "$(gcloud auth print-access-token)" https://gcr.io
Flag --email has been deprecated, will be removed in 1.14.
Login Succeeded
$ docker push gcr.io/project/imagename
...
denied: Unable to create the repository, please check that you have access to do so.

$ gcloud --version Google Cloud SDK 147.0.0

$ docker --version Docker version 17.03.0-ce, build 3a232c8

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

If you do

gcloud docker -- push gcr.io/X/Y

you will need to have permission to write to the GCP named 'X'. Typically you will need to be added to that project as a project EDITOR.

In this case GCR does not complain about the project shown by 'gcloud info'.

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!