On a virtual server ubuntu 14.04 I have installed docker and I try to push to a local registry an image. I followed this guide on the Docker blog but when I try to push the
simply running this docker run -p 5000:5000 -d registry
will get you in to trouble with https.
I found this tutorial helpful : How To Set Up a Private Docker Registry on Ubuntu 14.04
It basically sets up a reverse proxy with nginx to access the private registry. I have 1 vagrant box with the registry and a different vagrant box pulling stuff from this registry. It works :)
Hope that helps