[英]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:我正在执行第 3 步:将 Docker 映像推送到 Container Registry,了解如何将 docker 映像从 Google Cloud Engine 设置到 Kubernetes 引擎,尽管来自以下链接:
$ $
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.我确信 ID '6267453573146657250' 是有效的,因为它是我在云引擎上的唯一项目。
You need to use the Project ID for PROJECT_ID
, not the project number .您需要为
PROJECT_ID
使用项目 ID,而不是项目编号。
This guide explains where to find this info 本指南说明了在哪里可以找到此信息
Note that the Project ID in this example is my-sample-project-191923
, not 314053285323
.请注意,此示例中的项目 ID是
my-sample-project-191923
,而不是314053285323
。 The latter is the project number .后者是项目编号。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.