Error in docker build publish plugin

Could you help me configure jenkins docker build publish plugin . I installed artifactory for docker replication and tried to pull the assembly of images from the github docker file.

The following is the error I am getting:

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 arguments. \ In the case of HTTPS, if you have access to the registry 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 
+2
docker build docker-registry jenkins-plugins
source share
1 answer

This is not related to the creation and publication of the Jenkins Docker plugin, see the source code for DockerBuilder.java , it will execute the docker directly.

If you are a man-made server ( https://artifactory.corp.inmobi.com ) is not an official CA certificate, please check Remote Access Private Docker Registry to enable it on your jenkins server (which has a docker daemon)

Or ask your IT administrator to apply the official CA certification for https://artifactory.corp.inmobi.com

+2
source share

All Articles