是否有用于私人用途的docker Registry集群解决方案? [英] Is there a docker registry cluster solution for private purpose?

查看:106
本文介绍了是否有用于私人用途的docker Registry集群解决方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种开放源代码解决方案来同步多个Docker注册表。有人可以给我一些提示吗?

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

推荐答案

设置Docker注册表的最简单方法是使用官方Docker注册中心。这使您可以轻松地运行具有可配置存储后端的注册表服务器。正如其他人提到的,您可以使用S3或Google Cloud存储。 (我个人使用过Google Cloud存储,并且没有遇到任何问题。)

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).

我还将查看有关设置docker注册表的数字海洋文章:如何设置

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

由于您对群集感兴趣,因此此时您需要做的就是设置多个注册表服务器,并使用与之相同的存储桶。存储后端。然后放置一个负载均衡器,例如 haproxy nginx 在它们前面。这将为您提供所需的容错能力和负载平衡。

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.

这篇关于是否有用于私人用途的docker Registry集群解决方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆