invalid registry endpoint from docker client

asked 2016-11-23 18:57:57 +0000

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I setup a private registry and I can push and pull to the registry locally but from clients I get the below error.

[root@sting]# docker pull <hostname.com>:5000/test/busybox:latest

Error response from daemon: invalid registry endpoint https://<hostname>:5000/v0/: unable to ping registry endpoint https://<hostname>:5000/v0/ v2 ping attempt failed with error: Get https://<hostname>:5000/v2/: tls: oversized record received with length 20527 v1 ping attempt failed with error: Get https://>hostname>:5000/v1/_ping: tls: oversized record received with length 20527. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add --insecure-registry <hostname>.com:5000 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/<hostname>:5000/ca.crt

edit retag flag offensive close merge delete