简体   繁体   English

将 Docker 镜像推送到 Container Registry

[英]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 .请注意,此示例中的项目 IDmy-sample-project-191923 ,而不是314053285323 The latter is the project number .后者是项目编号

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将Docker映像从gitlab-ci推送到Azure容器注册表 - Pushing Docker image from gitlab-ci to Azure Container Registry 使用 docker-compose 构建 docker 镜像并推送到镜像/容器注册表? - Building a docker image and pushing to a image/container registry using docker-compose? 将Docker映像推送到Google Container Registry时,导致身份验证错误的原因是什么? - What's causing authentication error when pushing Docker image to Google Container Registry? 无效的注册表端点推送Docker映像 - Invalid Registry Endpoint pushing docker image 将Docker映像推送到Jenkinsfile中的注册表时出错 - Error when pushing docker image to registry in Jenkinsfile 推送 docker 容器时,Google Container Registry 访问被拒绝 - Google Container Registry access denied when pushing docker container 推送Docker映像时的Google Cloud Container注册表问题 - Google Cloud Container Registry Issues while pushing docker images 从容器内部构建并推送docker映像 - Building and pushing a docker image from inside a container 在Heroku容器注册表上使用Jenkins部署Docker镜像 - Deploying Docker Image with Jenkins on Heroku Container Registry 从Azure容器注册表部署Docker映像 - Deploying a Docker Image from Azure Container Registry
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM