CF-Workers-docker.io is a project by cmliu that sets up a proxy for Docker Hub (and potentially other container image registries) using Cloudflare Workers, effectively acting as a middle-man mirror to improve image pull reliability and speed in regions where direct access is degraded. The idea is to intercept registry requests, reroute or mirror them through a worker endpoint, and therefore bypass regional limitations or firewall blocks affecting official Docker registries. Users can deploy their own copy of this proxy, point their Docker daemon’s registry-mirrors configuration to it, and benefit from an accelerated and more accessible image pull experience. The project’s README warns about possible policy risks—since Cloudflare’s terms forbid use of Workers for VPN or similar proxy services, so users deploy at their own risk. It also includes instructions for setting up both Docker daemon and containerd/podman equivalents by customizing configuration files.
Features
- Cloudflare Workers-based mirror for Docker Hub (and other registries)
- Easy self-deployment by forking and customizing a single worker script
- Supports integrating with Docker daemon registry-mirrors config and containerd/podman setups
- Reduces region-specific pull failures or slowdowns of Docker images
- Minimal footprint: one worker script plus optional domain setup
- Provides caution and awareness of potential policy risks when using edge-functions as proxy