3 ms·
Is there any way to run your own Docker repository? Edit: Looks like the correct term is registry.
by mey 13y ago
Is there any way to run your own Docker repository?
Edit: Looks like the correct term is registry.
- deleted 13y ago[deleted]
- jimrhoskins 13y agoYes, assuming you mean your own docker registry. Docker has open sourced https://github.com/dotcloud/docker-registry https://github.com/dotcloud/docker-registry Remember the registry deals with the actual data, and delegates auth and other stuff to an index. The docker-registry has a dummy implementation of an index that has no notion of authentication or authorization, so anything you push to your private registry is really public if you don't secure it with some other method. For me, I wanted to have a real private registry with access control limited to my team. It turned out to not be too difficult to make our own registry+index implementation that is private by default. It has a basic web interface too. I've open sourced development of it https://github.com/jimrhoskins/stevedore https://github.com/jimrhoskins/stevedore . It's still really rough, especially on the web interface stuff, but for push/pull operations with required authentication, it does the job now.
- chasb 13y agoYou can fork the registry code [1]. We work in a regulated industry (healthcare) and need excellent access controls and auditing/logging. Forking the registry and rolling our own is possible, but not something we want to spend time on. So we looked around for private registries. We went with Quay [2] and have been really happy. They're responsive, performant, and on top of enterprise-level requirements. [1] http://blog.docker.io/2013/07/how-to-use-your-own-registry/ http://blog.docker.io/2013/07/how-to-use-your-own-registry/ [2] https://quay.io/ https://quay.io/