- 🔭 I’m currently working on Kubernetes
- 📝 My blog is available at libcuda.so
- 📫 How to reach me: [email protected]
ciiiii / cloudflare-docker-proxy Goto Github PK
View Code? Open in Web Editor NEWA docker registry proxy run on cloudflare worker.
A docker registry proxy run on cloudflare worker.
您好,我这边经过测试,貌似 k8s 的 registry.k8s.io 不知道是我使用问题还是怎么,拉取镜像会报错如下
Error response from daemon: manifest for k8s.devops-engineer.com.cn/google_containers/kube-scheduler:v1.28.2 not found: manifest unknown: Failed to fetch "v1.28.2"
我这边确定 JS 和 仓库是对应的,其次 Router 的配置也是没问题的
Hey @ciiiii , 👋
Your Project Inspired Me Greatly!
I just had a look at your project and it truly inspired me! I've been working on a related project recently and garnered so much from what you’ve done.
You can find my project at HaidongPang/registry-proxy.
It is a version that was optimized and refactored using Typescript and Cloudflare KV.
It’s still in the early stages, but your project has provided me with lots of insightful information and inspiration.
看了 README.md 文档,但是还是不知道怎么使用。
➜ docker pull k8s.libcuda.so/ingress-nginx/kube-webhook-certgen:v1.3.0
Error response from daemon: Head "https://k8s.libcuda.so/v2/ingress-nginx/kube-webhook-certgen/manifests/v1.3.0": unable to decode token response: EOF
use the same password and username can't login into docker.libcuda.so
docker login -u yswtrue docker.libcuda.so
Password:
Error response from daemon: login attempt to https://docker.libcuda.so/v2/ failed with status: 401 Unauthorized
docker login -u yswtrue docker.io
Password:
WARNING! Your password will be stored unencrypted in /home/lighthouse/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
docker pull gitlab-registry.yswtrue.com//shiwen2/shiwen_backend
invalid reference format
const routes = {
"gitlab-registry.yswtrue.com": "https://registry.gitlab.com",
"docker-registry.yswtrue.com": "https://registry-1.docker.io",
};
docker pull is working
路由配置:
const routes = {
"docker.xx.tech": "https://registry-1.docker.io",
"quay.xx.tech": "https://quay.io",
"gcr.xx.tech": "https://gcr.io",
"k8s-gcr.xx.tech": "https://k8s.gcr.io",
"k8s.xx.tech": "https://registry.k8s.io",
"ghcr.xx.tech": "https://ghcr.io",
"cloudsmith.xx.tech": "https://docker.cloudsmith.io",
};
使用 docker pull docker.xx.tech/hello-world 返回 401,docker login 也是返回 401 无法登录
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.