您能帮我配置一下jenkins docker build publish plugin吗?我已经为docker repo设置了artifactory,并尝试从github docker文件中推送图像构建。
下面是我得到的错误:
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发布于 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认证
https://stackoverflow.com/questions/27700816
复制相似问题