简体   繁体   中英

Pushing the Docker image to Container Registry

I am going through the Step 3: Push the Docker image to Container Registry on how to setup a docker image from Google Clound Engine to Kubernetes engine, from the following link though:

$

docker push gcr.io/${PROJECT_ID}/modo:v1
The push refers to repository [gcr.io/6267453573146657250/modo]
6a2e5ee87a10: Preparing
a276c90a34a4: Preparing
d675dcbcf549: Preparing
d675dcbcf549: Retrying in 1 second
0829f83db381: Retrying in 1 second
db7b61b8aab8: Retrying in 5 seconds
c5b2ac536264: Waiting
6c08a5b7d8f4: Waiting
c5b2ac536264: Waiting
6c08a5b7d8f4: Waiting
50867bb8f5d7: Waiting
72d6c6f0ea06: Waiting
8686c6b8d999: Waiting
44b57351135e: Waiting
00b029f9aa09: Waiting
18f9b4e2e1bc: Waiting
unknown: Project 'modo:6267453573146657250' not found or deleted.

I am sure the ID '6267453573146657250' is valid since it's the only project I have on the cloud engine.

You need to use the Project ID for PROJECT_ID , not the project number .

This guide explains where to find this info

在此处输入图像描述

Note that the Project ID in this example is my-sample-project-191923 , not 314053285323 . The latter is the project number .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM