The private registry was worked well based on docker 1.10.3,but I can not pull/push images after the docker updated to 1.12.0.
I had modified the /etc/sysconfig/dock
I also had same issue and followed below steps:
1. Create file
vi /etc/docker/daemon.json
2. Add below content
{ "insecure-registries":["192.168.1.142:5000"] }
3.Restart Docker
service docker restart