-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请求添加gcr.io反向代理 #91
Comments
@zhsj 存在用户上传的数据,感觉有些安全风险 |
可考虑只读,能pull image即可 |
@gaoyifan 这可以用docker registry(现在镜像docker hub那个)来镜像吗? |
@zhsj 估计不行,gcr.io是私有镜像 |
@gaoyifan 应该可以,docker可以直接pull gcr 上的 image。当然只要网络允许。 |
@NickCao 我搭建了一个测试站,试试能用吗? http://gcr.rrr.rs/ |
@gaoyifan |
@NickCao 唔.... docker默认用https访问啊.... |
@gaoyifan 似乎可用了 |
Accepted.
Same mirror method like docker hub :) |
@zhsj How about providing a url of sub-directory style, i.e. |
@knight42 docker doesn't support. Maybe I configure wrong.. |
got it. |
BTW, it occurs to me that we already have a reverse proxy server: |
@knight42 docker registry is more than a reverse proxy though |
|
@wkjun 似乎不是公开镜像?
|
sorry , tag 缺少了个
|
经测试,docker 的 registry 工具可以镜像gcr.
测试结果如下: (
|
@gaoyifan , can I use gcr.mirrors.ustc.edu.cn as a simple registry mirror, set "registry-mirrors": ["https://gcr.mirrors.ustc.edu.cn"] in deamon.json ? It looks it doesn't work this way. |
@gaoyifan Can add |
@khs1994 k8s.gcr.io -> gcr.io/google_containers |
some mirror seems not working: ~ % docker pull gcr.mirrors.ustc.edu.cn/kaniko-project/executor
Using default tag: latest
Error response from daemon: Get https://gcr.mirrors.ustc.edu.cn/v2/: net/http: TLS handshake timeout
~ % curl https://gcr.mirrors.ustc.edu.cn/v2/
{}% curl works means the network is not the problem |
docker pull gcr.mirrors.ustc.edu.cn/kubernetes-helm/tiller:v2.9.1 Error response from daemon: received unexpected HTTP status: 504 Gateway Time-out is gcr.mirrors.ustc.edu.cn still usable? |
docker pull gcr.mirrors.ustc.edu.cn/kubernetes-helm/tiller:v2.16.8 |
gcr.mirrors.ustc.edu.cn 返回403 |
见 https://mirrors.ustc.edu.cn/help/dockerhub.html。我们正在考虑使用 #276 中的方案构建 registry,但是在此之前科大校外用户需要考虑使用其他替代方案(例如阿里云提供的公开镜像服务)。 |
No description provided.
The text was updated successfully, but these errors were encountered: