在Docker构build发布插件错误

你能帮我configurationjenkins docker build publish插件 。 我已经为docker repo设置了artifactory,并尝试从github docker文件中推送图像构build。

以下是我得到的错误:

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 

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

如果您的artifactory服务器( https://artifactory.corp.inmobi.com )未获得官方CAauthentication,请检查远程访问私有dockerregistry以在您的jenkins服务器(具有docker守护程序)

或者要求您的ITpipe理员申请https://artifactory.corp.inmobi.com的官方CAauthentication