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:

gcloud docker push gcr.io/PROJECT_ID/hello-node:v1

  • Cannot push images to Dockerhub
  • Authenticate with Docker registry API
  • Docker with Microsoft SQL Server and .net desktop application
  • Tuleap-Docker : Make autoload-docker return error
  • Connect to MySQL server from php with Docker
  • Docker image for windows with oracle12
  • 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?

  • Authenticate with Docker registry API
  • Library installation in docker
  • Nginx, Wordpress, and SQL
  • How to run Codeigniter migration if the database is empty
  • How to save a Docker image
  • Class 'Google\Protobuf\Internal\Message' not found in “Message.proto”
  • 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”).

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.