首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >docker build publish插件出错

docker build publish插件出错
EN

Stack Overflow用户
提问于 2014-12-30 14:47:27
回答 1查看 2.5K关注 0票数 2

您能帮我配置一下jenkins docker build publish plugin吗?我已经为docker repo设置了artifactory,并尝试从github docker文件中推送图像构建。

下面是我得到的错误:

代码语言:javascript
复制
Error response from daemon: Invalid registry endpoint https://     
https://artifactory.corp.inmobi.com/v1/: 
Get https:// https://artifactory.corp.inmobi.com/v1/_ping: dial tcp: unknown port tcp/. \
If this private registry supports only HTTP or HTTPS with an unknown CA certificate, \
please add `--insecure-registry  https:` to the daemon's arguments. \
In the case of HTTPS, if you have access to the registry's CA certificate, \
no need for the flag; simply place the CA certificate at /etc/docker/certs.d/ https:/ca.crt

Build step 'Docker build and publish' marked build as failure
Finished: FAILURE
EN

回答 1

Stack Overflow用户

发布于 2015-01-08 13:29:05

它与Jenkins Docker构建和发布插件无关,请参阅源代码DockerBuilder.java,它将直接执行docker命令。

如果您的人工服务器(https://artifactory.corp.inmobi.com)没有正式的CA认证,请检查Remote access to a private docker-registry以在您的jenkins服务器(有docker守护进程)中启用它。

或者请您的IT管理员为https://artifactory.corp.inmobi.com申请官方CA认证

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/27700816

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档