Tag a Docker image in Google Container Registry with additional tag via command line

I am trying to tag a Docker image sitting in Google Container Registry but am not having any luck. If the image were sitting on my local machine, i could do something like:


docker tag my-image:existing-tag my-image:new-tag

  • MS Edge running in guest machine does not store cookies from site hosted in another guest
  • Docker WordPress Nginx Folder Structure?
  • confd newbie trying to get if in template to work getting “invalid type for comparison”
  • PhpStorm xdebug can't find file when connection comes from docker container
  • Xdebug time out while running debug session (PhpFarm | phpFcgi)
  • Rancher Docker container UI unreacheable on 8080 port
  • This would result in a second tag for my image. However, in Google Container Registry, I cannot simply use the gcloud wrapper to do so. For example:


    gcloud docker -- tag gcr.io/my-project/my-image:existing-tag gcr.io/my-project/my-image:new-tag

    This command will not work because even though I am running with gcloud, I get the following response:


    Error response from daemon: no such id gcr.io/my-project/my-image:existing-tag

    Is what I am attempting possible, and how would one accomplish it?

  • Issue in deploying a simple docker image to openshift
  • How to put fluentd containers behind a load balancer in ECS?
  • Docker Maven Spotify plugin - Possible to switch to non-secure registry
  • Xvfb command in docker supervisor conf not working
  • what is Server error: Status 0 while fetching image layer
  • Confuse about docker's -i “Keep STDIN open even if not attached”
  • One Solution collect form web for “Tag a Docker image in Google Container Registry with additional tag via command line”

    Just after posting, I discovered I needed to update to the latest gcloud and then could run gcloud container images add-tag. Problem solved.

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