News for hackers. Stuff that matters.
Re:Ask HN: What is your docker registry setup? by taylodl on Thursday May 28, 2015 @06:36AM (#9617127)
I use a self-hosted docker registry. The good thing is the work has already been done for you! You just need to run the registry image from DockerHub. Here's the steps I used to run my registry:

- Mount your storage to a local location

- Pull registry image from DockerHub

- docker run -p 5000:5000 -v <local storage>:<container storage> -e STORAGE_PATH=<container storage> registry

- docker push registry <server>:5000/registry

The last step pushes the registry image you retrieved from DockerHub into your own private registry. I'm running this registry on a VM using a Celerra share. Works like a champ!

The documentation for the registry image I'm running can be found on GitHub: https://github.com/docker/docker-registry

There are many storage options, you don't have to use local storage - there are several options for using cloud storage.

Hope that helps!

There are no comments on this comment yet.