amazon-web-services - 大厅 CI 管道给出错误 :- Get https://registry-1. docker.io/v2:net/http:请求在等待连接时取消

标签 amazon-web-services docker continuous-integration pivotaltracker concourse

我安装了大堂 CI 使用 波什 部署在 亚马逊 .

成功安装后,我可以在浏览器上看到 Concourse CI。我创建了 Hello World 管道使用 Concourse CI 官方页面:- http://concourse-ci.org/getting-started.html

但是,当我尝试为 hello-world 管道运行构建时,出现错误:-

Get https://registry-1.docker.io/v2: net/http: request canceled while waiting for connection

请让我知道如何解决此问题。在此先感谢。
我的 CI 管道代码:-
jobs:        
- name: hello-world     
  plan:      
  - task: say-hello    
    config:   
      platform: linux   
      image: "docker:///ubuntu"   
      run:  
        path: echo  
        args: ["Hello, world!"]  

最佳答案

我也遇到了这个问题,但有点不同。我使用docker安装concourse ci。 ping https://registry-1.docker.io/v2 失败总是 超时 .最后,我发现DNS地址导致了这个问题。我绑定(bind)指定dns服务器地址,然后就可以了!所以你应该检查你的 dns 配置。希望这可以帮到你!

您仍然可以引用此链接 [ https://github.com/concourse/concourse/issues/347]

enter image description here

关于amazon-web-services - 大厅 CI 管道给出错误 :- Get https://registry-1. docker.io/v2:net/http:请求在等待连接时取消,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34924026/

相关文章:

amazon-web-services - 如何使用 CloudFormation 模板为 AWS Glue 作业创建脚本

mysql - 如何在 docker-compose 文件中为具有不同 mysqld 版本的不同项目组织 mysql 卷?

linux - 当任务因 OOM 而被终止时,内核在日志中报告内存使用情况

batch-file - 使用批处理脚本启动 Jenkins 构建

msbuild - 使用 MSBuild 批量重命名

bash - Git 克隆 : Illegal Port Number

c++ - AWS C++ 开发工具包 UploadPart 超时

amazon-web-services - 从 STS API 返回的 AWS_SESSION_TOKEN 的功能是什么?

docker 7 : Could not find matching IP for MAC address error

jenkins - 如何在 withCredentials 中获取用户范围的凭据(个人凭据)