Can't push docker image to gcloud
I’m following the hello node Kubernetes tutorial but when I get to the step of pushing my machine to google cloud with the command:
I get the following error message:
name invalid: Invalid repository name: gcr.io/PROJECT_ID/hello-node
(Just do avoid double-checks, I replaced my PROJECT_ID with the actual number of the projecg)
I was able to push my image to a bucket, and run, but then my image doesn’t show in Container Engine > Container Registry.
How can this be fixed?
One Solution collect form web for “Can't push docker image to gcloud”
You should replace
PROJECT_ID with the alphanumeric ID of your project (e.g. “my-project-123”).