From 413a3a4c6b7322bd8e3e23e9927cbbc277f0bbbd Mon Sep 17 00:00:00 2001 From: tomwei7 Date: Tue, 13 Apr 2021 22:57:42 +0800 Subject: [PATCH] update README.md --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index a17c20f..2e48497 100644 --- a/README.md +++ b/README.md @@ -51,3 +51,24 @@ wrangler publish } EOF ``` + +### 获取其他镜像源镜像 + +目前 hammal 支持获取 `k8s.gcr.io`, `gcr.io`, `quay.io` 的镜像,可以通过修改 handler.ts 中的 `ORG_NAME_BACKEND` 添加 + +```bash +# 拉取 k8s.gcr.io 镜像 +docker pull hammal.{your_name}.workers.dev/k8sgcr/kubernetes-dashboard-amd64:v1.8.3 + +# 拉取 gcr.io 镜像 +docker pull hammal.{your_name}.workers.dev/gcr/youlib/image:tags + +# 拉取 quay.io 镜像 +docker pull hammal.{your_name}.workers.dev/quay/coreos/flannel:v0.13.1-rc2 +``` + +### TODO + +- [ ] 私有仓库支持 +- [ ] manifests/blob cache +