If you want to run your own private Docker registry here’s a quick and easy way to do that using Rackspace Cloud Files as the backend storage. Cloud Files is based on OpenStack Swift, so it comes with all the built in features and reliability that’s designed into Swift. Since this is Docker we’ll do it with the official Docker registry container, install docker-registry-driver-swift, and pass in our Cloud Files/Rackspace information when we run the container.

####Dockerfile

####Build the image

####Run the container with our Cloud Files/Rackspace info.

To test locally you can push/pull to localhost:5000, or test remotely to your servers public IP and port 5000. Note: this is wide open so I’ll leave securing it up to you, there are a few htpasswd/HTTPS solutions documented out there.