A docker registry proxy run on cloudflare worker.
  • JavaScript 100%
Find a file
2024-01-14 12:06:43 +08:00
.github/workflows Fix registry no need auth (#3) 2023-03-05 23:26:15 +08:00
.vscode change hosts 2024-01-14 11:43:03 +08:00
src fix typo 2024-01-14 12:06:43 +08:00
.gitignore init webpack project for cloudflare worker 2022-03-22 02:35:17 +08:00
package.json init webpack project for cloudflare worker 2022-03-22 02:35:17 +08:00
README.md update readme 2024-01-14 12:04:28 +08:00
webpack.config.js init webpack project for cloudflare worker 2022-03-22 02:35:17 +08:00
wrangler.toml Specify entrypoint 2023-03-05 23:28:39 +08:00
yarn.lock implement proxy docker registry route by host 2022-03-22 02:36:09 +08:00

cloudflare-docker-proxy

deploy

If you're looking for proxy for helm, maybe you can try cloudflare-helm-proxy.

Deploy

Deploy to Cloudflare Workers

  1. fork this project
  2. modify the link of the above button to your fork url
  3. click the button, you will be redirected to the deploy page

Use

We provide proxy for docker hub and github container registry.

const routes = {
  "docker.mirror.nbtca.space": "https://registry-1.docker.io",
  "ghcr.mirror.nbtca.space": "https://ghcr.io",
};

You can pull a image from docker hub like this:

docker pull docker.mirror.nbtca.space/library/alpine:latest