Update README.md (#654)

This commit is contained in:
Shiming Zhang 2023-11-08 10:45:12 +08:00 committed by GitHub
parent edd3044503
commit cff6f3f11f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 9 deletions

View File

@ -52,8 +52,6 @@ k8s.gcr.io/coredns/coredns => k8s-gcr.m.daocloud.io/coredns/coredns
**支持懒加载**, 就算不在同步列表中也能 **直接拉取**, 初次拉取会比已经同步过的慢, 并且[每 7 天会清理一次缓存](https://github.com/distribution/distribution/blob/e3509fc1deedaab489dd8829cc438de8f4c77fc3/registry/proxy/proxymanifeststore.go#L15).
如果只是临时使用的就不需要往同步列表里加了, 可以尝试单次单镜像同步
如果您看到下没有进度这是由于带宽有限只要有几人在下较大的文件就会阻塞后续的下载, 可以尝试单次单镜像同步
## 定期同步列表 (不推荐)
@ -61,17 +59,12 @@ k8s.gcr.io/coredns/coredns => k8s-gcr.m.daocloud.io/coredns/coredns
[mirror.txt](mirror.txt)
如果想要新增, 提 PR 修改即可。例如 [PR#1](https://github.com/DaoCloud/public-image-mirror/pull/1/) 并请在 PR 提交前排序: `./hack/fmt.sh mirror.txt`
注意由于数量已经比较多了初次提交被同步到可能需要一周时间, 强烈建议使用单次单镜像同步
## 对应 Registry 的映射 (准备废弃)
[domain.txt](domain.txt)
如果想要新增, 提 PR 修改即可。例如 [PR#28](https://github.com/DaoCloud/public-image-mirror/pull/28), 并请在 PR 提交前排序:`./hack/fmt.sh domain.txt`
注意由于数量已经比较多了初次提交, 到被同步到至少需要一周时间, 强烈建议使用单次单镜像同步
## 支持前缀替换的 Registry
前缀替换的 Registry 的规则
前缀替换的 Registry 的规则, 这是人工配置的, 有需求提 Issue.
| 源站 | 替换为 |
| ----------------------- | ----------------------------- |