Is there a docker registry cluster solution for private purpose?

孤者浪人 提交于 2019-12-12 10:37:30

问题


I am looking for an open source solution to sync several docker registries. Could anybody give me some hints about this?


回答1:


The easiest way to set up a docker registry is using the official docker registry. This allows you to easily run a registry server with a configurable storage backend. As others have mentioned you can use S3 or Google Cloud storage. (I have personally used Google Cloud storage and have not run into any problems).

I would also check out this digital ocean post about setting up a docker registry: How to setup a docker registry.

Since you are interested in clustering, all you would need to do at this point is setup multiple registry servers with the same bucket as a storage backend. Then put a load balancer such as haproxy or nginx in front of them. This will give you the fault tolerance and load balancing that you are looking for.



来源:https://stackoverflow.com/questions/25902892/is-there-a-docker-registry-cluster-solution-for-private-purpose

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!