Skip to content

Mxmilu666/cloudflare-dockerhub-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🌩️ Cloudflare Docker Hub Proxy

✨ a simple hub.docker.com proxy on cloudflare worker ✨

中文版README

📦 Usage Instructions

1. Create a Cloudflare Worker

  1. After logging into your Cloudflare account, navigate to the Workers Dashboard.

  2. Click the "Create a Worker" button to start setting up a new Worker.

2. Copy JavaScript

📝 Locate the worker.js file in this repository.

  1. Paste all the code from worker.js into Cloudflare Workers' online editor.

3. Deploy the Worker

🚀 Once you've confirmed the code is correct in the editor, hit the "Save & Deploy" button.

  1. Upon successful deployment, you'll receive a unique Worker URL, like https://your-worker-name.workers.dev , which can then be used to proxy Docker Hub.

🔄 How to Use the Proxy

💡 To access or pull Docker images through this proxy, simply replace the Docker Hub address with your Worker URL.

For instance, the typical Docker pull command:

docker pull nginx:latest

Should be changed to:

docker pull your-worker-name.workers.dev/amd64/nginx:latest

📖 License

This project is open-sourced under the Apache-2.0 license.

About

a hub.docker.com proxy on cloudflare worker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published