I was getting following error while pushing images to docker registry , on Centos7
Error response from daemon: v1 ping attempt failed with error:
Get https://myipaddress:5000/v1/_ping: tls: oversized record received with length.
Fix : Added following lines to file /etc/sysconfig/docker
Replace the IP address with your own IP address
and restarted Docker service