Fixed: Docker error tls: oversized record received with length, Centos7

I was getting following error while pushing images to docker registry , on Centos7

<pre><code>

Error response from daemon: v1 ping attempt failed with error:
Get https://myipaddress:5000/v1/_ping: tls: oversized record received with length.

</code></pre>

Fix : Added following lines to file /etc/sysconfig/docker

<pre><code>
INSECURE_REGISTRY=’–insecure-registry 192.168.2.21:5050′

</code></pre>

Replace the IP address with your own IP address

and restarted Docker service

Leave a Reply

Your email address will not be published. Required fields are marked *