Draft
Conversation
Member
Author
|
另外如果要上线服务,还需要申请一个新的三级域名(比如说 registry.mirrors.ustc.edu.cn?)。因为尽管 Docker Registry 支持 prefix, 此外还有一个问题是是否打开 这样不会出现可能的命名冲突,但是看起来比较麻烦,并且没有办法作为 Docker 的 如果不启用,命令就是: |
Contributor
|
我觉得只同步部分镜像的话,那就不能让用户误设置为registry mirror。 |
Member
可以把配置单独放到一个文件里,然后同步的时候通过 volume 挂载
+1 |
Member
Author
|
把 YAML 配置提出来了。另外因为 |
Member
Author
|
前几天重新看了一下,单纯使用 skopeo 是不够的。我们需要在没有 registry backend 的情况下从指定的 OCI 兼容的 registry 同步指定的 image,并且需要用 nginx (with lua) 对外表现得像一个只读的 registry 一样。 可能需要再造一些轮子才行。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
(如果方便的话, 可以简述一下您所做的改动)
ustclug/mirrorrequest#276
尝试使用 skopeo 进行 Docker 镜像同步。
详情:
skopeo-sync),同步指定的镜像。skopeo-sync/下的配置 YAML 也需要更新。