简体   繁体   English

使用 github 操作将 docker 图像从 ECR 拉到 EC2 时出错

[英]Error while pulling docker image from ECR to EC2 using github actions

From main.yaml the docker pull command is executed in continoud deployment phase but it throws an error.从 main.yaml 开始,docker pull 命令在连续部署阶段执行,但会引发错误。 This was the error: Error response from daemon: repository ***/*** not found: name unknown: The repository with name '***/***' does not exist in the registry with id '***'这是错误: Error response from daemon: repository ***/*** not found: name unknown: The repository with name '***/***' does not exist in the registry with id '***'

( https://i.stack.imgur.com/frDre.png ) ( https://i.stack.imgur.com/frDre.png )

From AWS ECR copy the URI (Universal resource locator) without the registry name.从 AWS ECR 复制不带注册表名称的 URI(通用资源定位器)。

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

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