title: Default private registry in Docker
body: <p>I need to set up my own private registry in Docker, to generally keep <em>all</em> internal Docker-images.</p>
  
  <p>To make this easier, I want to have a setup internally where my Docker-images are called <code>project/component</code>, just like normal Docker-images you pull from <a href="https://index.docker.io/" rel="noreferrer">https://index.docker.io/</a>.</p>
  
  <p>I am certain, that I will never grab images in this format from index.docker.io, all those images will come from our internal indexer. Even the images in the format of <code>imagename</code>, like <code>centos</code> will be pulled from our internal repository.</p>
  
  <p>So, is there a way for me to change out the default indexer? Or at least change my private indexer from port 5000 to something that is tried as default; ie, to grab images from <code>private_indexer.internal/repo_name</code> instead of <code>private_indexer.internal:5000/repo_name</code>.</p>
  
  <p>Is putting index.docker.io in our own dns pointing to our internal ip the best solution?</p>