简体   繁体   English

如何验证管道的入口点:图像拉取失败,退避拉取图像“hashicorp/terraform:full”

[英]How do I verify entry point for pipeline: Image pull failed, back-off pulling image "hashicorp/terraform:full"

I'm new to containers, pipelines, and images so full noob here.我是容器、管道和图像的新手,所以这里是菜鸟。 Trying to run Terratest in a Kube.netes container and my go file for Terratest I'm importing the following.尝试在 Kube.netes 容器和我的 Terratest 的 go 文件中运行 Terratest 我正在导入以下内容。 I don't think the imports are the problem of the image since the mod and sum file are in the repo already but just in case.我不认为导入是图像的问题,因为 mod 和 sum 文件已经在回购中,但以防万一。

    "testing"
    "strconv"
    "github.com/Jeffail/gabs"
    "github.com/stretchr/testify/assert"
    "github.com/gruntwork-io/terratest/modules/terraform"
    "github.com/gruntwork-io/terratest/modules/azure"
)

In my.yml file I have the following:在 my.yml 文件中,我有以下内容:

image: golang:latest

include: 
  - template: Terraform/Base.latest.gitlab-ci.yml
...
test:
  stage: test
  image:
    name: "hashicorp/terraform:full"

And I keep getting the error:而且我不断收到错误消息:

Waiting for pod GitLab-apps/runner-randomstringpart to be running, status is Pending
Waiting for pod GitLab-apps/runner-randomstringpart to be running, status is Pending
    ContainersNotReady: "containers with unready status: [build helper]"
    ContainersNotReady: "containers with unready status: [build helper]"
WARNING: Failed to pull image with policy "": image pull failed: Back-off pulling image "hashicorp/terraform:full"
ERROR: Job failed: prepare environment: waiting for pod running: pulling image "hashicorp/terraform:full": image pull failed: Back-off pulling image "hashicorp/terraform:full".

Isn't the template public so I can eliminate that it's a permissions error?模板不是公开的,所以我可以消除它的权限错误吗?

There is no such tag :full for the image hashicorp/terraform .图像hashicorp/terraform没有这样的标签:full Consider replacing with an existing tag such as :latest or :1.1.8 .考虑替换为现有标签,例如:latest:1.1.8

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

相关问题 在 Kubernetes 中回退拉取镜像 - Back-off pulling image in Kubernetes ImagePullBackOff:后退拉取图像“argoproj/argosay:v2” - ImagePullBackOff: Back-off pulling image "argoproj/argosay:v2" 回退拉取镜像“XYZ/customer-management/dev/72-kubernetes-setup:XYZ” - Back-off pulling image "XYZ/customer-management/dev/72-kubernetes-setup:XYZ" 如何知道Elasticsearch的Back-off重启失败容器的原因 - how to know the reason of Back-off restarting failed container of elasticsearch 在 kubernetes 中的部署显示,在使用为训练图像创建的 docker 图像进行对象检测时,退避重启失败的容器 - Deployment in kubernetes shows Back-off restarting failed container while using a docker image created for training images for object detection CrashLoopBackOff - 后退重启失败的容器 - CrashLoopBackOff - Back-off restarting failed container 如何在没有 http 端点的情况下保持 Kubernetes pod 运行? (防止后退) - How do I keep a Kubernetes pod running with no http endpoint? (prevent back-off) 回退重启失败的容器 kubernetes - Back-off restarting failed container kubernetes CrashLoopBackOff:后退重启失败的容器 - CrashLoopBackOff : Back-off restarting failed container 图像拉回 - Openshift - Image pull back off - Openshift
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM