Skip to content

FocusProgram/docker-mirrors-proxy

 
 

Repository files navigation

m

deploy

Pulling images from any container registry using Cloudflare Worker.

Deploy to Cloudflare Workers

How to use

One-time use

# Original pull command
docker pull alpine:3.20.2

# Current pull command
docker pull your-domain.com/library/alpine:3.20.2
# Or adding `docker.io`
docker pull your-domain.com/docker.io/library/alpine:3.20.2

# Add your domain prefix to pull from others container registries
docker pull your-domain.com/registry.k8s.io/pause:3.9
docker pull your-domain.com/ghcr.io/fatedier/frps:v0.59.0
docker pull your-domain.com/mcr.microsoft.com/devcontainers/javascript-node:1-18
docker pull your-domain.com/quay.io/prometheus/busybox:latest
docker pull your-domain.com/docker.elastic.co/elasticsearch/elasticsearch:7.17.9

Global Configuration

Add your domain to the Docker daemon configuration.

{
  "registry-mirrors": ["https://your-domain.com"]
}

References

This repository is inspired by these projects. Thanks.

About

Pulling images from any container registry using Cloudflare Worker.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.1%
  • HTML 13.9%