Skip to content

Mxmilu666/cloudflare-dockerhub-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudflare Docker Hub Proxy

A simple hub.docker.com proxy on cloudflare worker

中文版README

Setup

  1. Deploy the worker.js to your Cloudflare Workers
  2. Update the domain constants in worker.js with your domains
  3. Bind custom domains to your Worker:
    • your-domain.com (base registry domain)
    • auth-your-domain.com (authentication domain)
    • production-your-domain.com (CDN domain)

Usage

Configure your Docker client to use your proxy domains instead of Docker Hub directly.

Configuration

const BASE_DOMAIN = "your-domain.com";
const AUTH_DOMAIN = "auth-" + BASE_DOMAIN;
const CDN_DOMAIN  = "production-" + BASE_DOMAIN;

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

 
 
 

Contributors