Giter Club home page Giter Club logo

cf-workers-docker.io's Introduction

第三方 DockerHub 镜像服务列表

CF-Workers-docker.io:Docker仓库镜像代理工具

这个项目是一个基于 Cloudflare Workers 的 Docker 镜像代理工具。它能够中转对 Docker 官方镜像仓库的请求,解决一些访问限制和加速访问的问题。

部署方式

  • Workers 部署:复制 _worker.js 代码,保存并部署即可
  • Pages 部署:Fork连接GitHub 一键部署即可

如何使用? 视频教程

例如您的Workers项目域名为:docker.fxxk.dedyn.io

1.官方镜像路径前面加域名

docker pull docker.fxxk.dedyn.io/stilleshan/frpc:latest
docker pull docker.fxxk.dedyn.io/library/nginx:stable-alpine3.19-perl

2.一键设置镜像加速

修改文件 /etc/docker/daemon.json(如果不存在则创建)

sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": ["https://docker.fxxk.dedyn.io"]  # 请替换为您自己的Worker自定义域名
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker

变量说明

变量名 示例 必填 备注
URL302 https://t.me/CMLiussss 主页302跳转
URL https://www.baidu.com/ 主页伪装(设为nginx则伪装为nginx默认页面)
UA netcraft 支持多元素, 元素之间使用空格或换行作间隔

第三方 DockerHub 镜像服务

注意:

  • 以下内容仅做镜像服务的整理与搜集,未做任何安全性检测和验证。
  • 使用前请自行斟酌,并根据实际需求进行必要的安全审查。
  • 本列表中的任何服务都不做任何形式的安全承诺或保证。
DockerHub 镜像仓库 镜像加地址
bestcfipas镜像服务 https://docker.registry.cyou
https://docker-cf.registry.cyou
zero_free镜像服务 https://docker.jsdelivr.fyi
https://dockercf.jsdelivr.fyi
https://dockertest.jsdelivr.fyi
docker proxy https://dockerpull.com
docker proxy https://dockerproxy.cn
Docker镜像加速站 https://hub.uuuadc.top
https://docker.1panel.live
https://hub.rat.dev
DockerHub 镜像加速代理 https://docker.anyhub.us.kg
https://docker.chenby.cn
https://dockerhub.jobcher.com
镜像使用说明 https://dockerhub.icu
Docker镜像加速站 https://docker.ckyl.me
镜像使用说明 https://docker.awsl9527.cn
镜像使用说明 https://docker.hpcloud.cloud
DaoCloud 镜像站 https://docker.m.daocloud.io
AtomHub 可信镜像仓库平台 (只包含基础镜像,共336个) https://atomhub.openatom.cn

鸣谢

muzihuanerV2ex网友ciiiiiChatGPT白嫖哥zero_free频道dongyubinkiko923

cf-workers-docker.io's People

Contributors

cmliu avatar lucienshui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cf-workers-docker.io's Issues

自定义域,使用”_“和”-“符号会照成,域名DNS错误。

部署Workers后,使用” 触发器“的” 自定义域“功能,添加类似 aaa_bbb-ccc.123.xyz 这样的域名,会报错。
123.xyz 域名会出现一个无法删除的DNS记录,清除Workers 项目也不能删除。
aaa_bbb-ccc.123.xyz要么无法访问,要么拉取Docker 镜像会失败。

请问这个问题是 Workers 平台的BUG,还是本项目的问题。
那些无法删除的DNS记录有办法删除吗?

workers报错了

Uncaught SyntaxError: Unexpected token 'export' at worker.js:100 (Code: 10021)

报错:error unmarshalling

拉取 Redis 镜像的时候会报错,百思不得解:

[root@k8s-239 ~]# docker pull docker.x2b.net/library/redis:7.0
Error response from daemon: error unmarshalling content: invalid character '<' looking for beginning of value

1.自建代理拉取其他镜像是正常的;
2.使用第三方代理 docker.m.daocloud.io 来拉取 redis 镜像也是正常的。

mysql镜像无法拉取,daocloud的源就可以

我的

$ docker pull dockerhub.kilvn.com/library/mysql:5.7
Error response from daemon: pull access denied for dockerhub.kilvn.com/library/mysql, repository does not exist or may require 'docker login'

别人的

$ docker pull docker.m.daocloud.io/library/mysql:5.7
5.7: Pulling from library/mysql
1c56c3d4ce74: Pulling fs layer
df9a4d85569b: Pulling fs layer
20e4dcae4c69: Downloading [=========>                                         ]  9.437MB/50.5MB
e9f03a1c24ce: Already exists
ae71319cb779: Downloading [====================>                              ]  10.49MB/25.53MB
ffc89e9dfd88: Already exists
68c3898c2015: Already exists
43d05e938198: Downloading [=========>                                         ]  10.49MB/56.29MB
6b95a940e7b6: Already exists
90986bb8de6e: Already exists
064b2d298fba: Already exists

咨询一下,能否解决production.cloudflare.docker.com的问题

在通过 docker buildx 构建多平台镜像时,其还会访问 production.cloudflare.docker.com 获取镜像 mainfest ,而次域名也被墙了,导致配置了镜像源还是不能完成原来cicd的工作流

::error::buildx failed with: ERROR: failed to solve: seepine/alpine:8-jre: failed to resolve source metadata for docker.io/seepine/alpine:8-jre: failed to copy: httpReadSeeker: failed open: failed to do request: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/bc/bcd4dec555f6a0c4832e1*******2933ee6e229109cafd3d76c576a8a5d17a8/data?verify=1719563818-EsDmEn1%252FJ2bglo1sPLZ4N%252BzfkXw%253D": read tcp 172.17.0.5:56596->157.240.12.35:443: read: connection reset by peer

报错在102行,如何解决?

Uncaught SyntaxError: Unexpected token 'export' at worker.js:102 (Code: 10021)

粘贴后,部署提示这个错误,如何解决?

测试拉取gcr镜像会报错

docker pull gcr.docker.xxx.cool/kaniko-project/executor:v1.23.2
Error response from daemon: Head "https://gcr.docker.xxx.cool/v2/kaniko-project/executor/manifests/v1.23.2": Get "https://gcr.io/v2/token?scope=repository%3Akaniko-project%2Fexecutor%3Apull&service=gcr.io": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

应该是v2重定向这里没处理好,测试另一个作者的gcr就没有问题
https://github.com/ciiiii/cloudflare-docker-proxy/blob/master/src/index.js
但是他的dockerhub代理又有问题,希望作者能修复gcr的故障,谢谢

私有镜像不能拉取

我已经登录:docker login xx.dev
拉取镜像,docker pull xx.dev/x/x:latest
报错:repository does not exist or may require 'docker login': denied: requested access to the resource is denied
好像token没传递
image

按教程设置后,无法拉取镜像

您好!望指导:

用您共享的资源会提示:
root@debian:# docker pull busybox
Using default tag: latest
Error response from daemon: Head "https://registry-1.docker.io/v2/library/busybox/manifests/latest": dial tcp [2600:1f18:2148:bc02:2640:1b90:cea6:b6b5]:443: connect: network is unreachable
如果用自定义的域名则提示:
root@debian:
# docker pull dockerp.ijustwantdocker.shop/6053537/portainer
Using default tag: latest
Error response from daemon: Get "https://dockerp.ijustwantdocker.shop/v2/": dial tcp [2606:4700:3035::6815:1840]:443: connect: network is unreachable

可以ping通,但就是拉取不了。请问如何解决?谢谢!

GitHub的镜像不能被加速吗?

我试了 /etc/docker/daemon.json 的方式好像没有被触发,依据是部署的Worker日志未检测到请求。使用 example.com/ghcr.io/username/registryname:tag 的方式可以触发Worker,但会报错仓库不存在。

群晖如何使用该源?

已经在cf-works配置,但在群晖添加docker注册表后,发现能显示列表,但无法搜索和下载

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.