title: Docker: What is the simplest way to secure a private registry?
body: <p>Our Docker images ship closed sources, we need to store them somewhere safe, using own private docker registry.
  We search <strong>the simplest way to deploy a private docker registry with a simple authentication layer</strong>.</p>
  
  <p>I found :</p>
  
  <ul>
  <li>this manual way <a href="http://www.activestate.com/blog/2014/01/deploying-your-own-private-docker-registry">http://www.activestate.com/blog/2014/01/deploying-your-own-private-docker-registry</a></li>
  <li>and the <code>shipyard/docker-private-registry</code> docker image based on stackbrew/registry and adding basic auth via Nginx - <a href="https://github.com/shipyard/docker-private-registry">https://github.com/shipyard/docker-private-registry</a></li>
  </ul>
  
  <p>I think use <code>shipyard/docker-private-registry</code>, but <strong>is there one another best way?</strong></p>