I am following this tutorial to set up Kubernetes
https://cloud.google.com/kubernetes-engine/docs/tutorials/hello-app
Instead of using the hello project from tutorial, I downloaded an image from my own Docker repository. It is an image of Cassandra
docker pull manuchadha25/codingjedi:3.11.4
The image is available (checked on Google console)
manuchadha25@cloudshell:~ (copper-frame-262317)$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
manuchadha25/cassandra 3.11.4 ca795bbd8fd7 8 months ago 324MB
manuchadha25@cloudshell:~ (copper-frame-262317)$
I want to now push the image to Container Registry (which I suppose is Google's own registry and is used by Kubernetes to create new nodes with required images). I am getting this error when I try to push the image
manuchadha25@cloudshell:~ (copper-frame-262317)$ docker push gcr.io/${PROJECT_ID}/manuchadha25/cassandra:3.11.4
The push refers to repository [gcr.io/copper-frame-262317/manuchadha25/cassandra]
An image does not exist locally with the tag: gcr.io/copper-frame-262317/manuchadha25/cassandra
manuchadha25@cloudshell:~ (copper-frame-262317)$
What am I doing wrong?