Skip to content
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

[Source] Docker Hub 可用源 #35

Open
lianhaisen opened this issue Jun 12, 2024 · 10 comments
Open

[Source] Docker Hub 可用源 #35

lianhaisen opened this issue Jun 12, 2024 · 10 comments
Assignees
Labels
软件 软件
Milestone

Comments

@lianhaisen
Copy link

xxx@xxx:~$ sudo ./chsrc set docker
chsrc: 当前 dockerhub 无任何可用源,请联系维护者

@ccmywish
Copy link
Contributor

是的,dockerhub 暂时没有可用源,如有可用源请留言。

@ccmywish ccmywish changed the title ubuntu docker 没有源 dockerhub 没有可用源 Jun 12, 2024
@ccmywish ccmywish added the 软件 软件 label Jun 12, 2024
@ccbikai
Copy link

ccbikai commented Jun 13, 2024

https://huecker.io/en/use.html#unbanned
https://huecker.io/en/others.html

国内目前没有,可以测试加入俄罗斯的这些源吗?

@ccmywish
Copy link
Contributor

@ccbikai

感谢你对源的分享和建议!我想知道,这几个源是否在国内可用?

@lianhaisen
Copy link
Author

https://1panel.cn/docs/user_manual/containers/setting/ 1panel 里面有几个源,写上去 可以拉取镜像,也只是暂时能用而已,估计很快失效

https://hub-mirror.c.163.com
https://docker.m.daocloud.io
https://ghcr.io
https://mirror.baidubce.com
https://docker.nju.edu.cn

@ccmywish
Copy link
Contributor

Hi, @lianhaisen

感谢你分享的链接!

  1. https://hub-mirror.c.163.com/
  2. https://mirror.baidubce.com/
  3. https://docker.nju.edu.cn/

供参考,这三个应该在前些天已经失效了

ccmywish added a commit that referenced this issue Jun 13, 2024
@ccmywish
Copy link
Contributor

@lianhaisen 已添加 daocloud

@ccbikai 已添加 huecker

可以在 README 链接中下载最新版测试使用

@ccmywish ccmywish changed the title dockerhub 没有可用源 dockerhub 可用源 Jun 14, 2024
@ccmywish ccmywish self-assigned this Jun 14, 2024
@Forgot-Dream
Copy link

https://1panel.cn/docs/user_manual/containers/setting/ 1Panel文档更新了他们的自建源

https://docker.1panel.live

根据解析IP推测是通过CloudFlare Worker搭建的,目前国内速度尚可,可以考虑加入。

ccmywish added a commit that referenced this issue Jul 24, 2024
@ccmywish
Copy link
Contributor

@Forgot-Dream 👍 已添加,但暂未发布

@ccmywish ccmywish added the label Sep 9, 2024
@ccmywish ccmywish added this to the v0.1.9 milestone Sep 23, 2024
@ccmywish ccmywish modified the milestones: v0.1.9, v0.2.0 Oct 9, 2024
@moreant
Copy link

moreant commented Oct 12, 2024

现在 Docker 设置源需要手动操作,能否使用 jq 来直接新建/替换 /etc/docker/daemon.json 文件,然后询问是否需要重启 docker 来实现自动设置源。

@ccmywish
Copy link
Contributor

ccmywish commented Oct 12, 2024

@moreant 感谢建议👍

之前考虑过直接用 yq 来实现对 xml,toml,yaml,json 的全部替换,但是经试验发现 yqtoml 的支持比较弱,遂放弃。

目前 chsrc 支持的60多个目标中,只有 docker 使用 JSON 作为配置文件(其他使用 JSON 的可以自动换源),另外有3个用 toml,1个用 yml,1个用xml,这些都无法自动换源。所以我更想引入 yq 而非 jq 来处理。但由于上述发现,并没有引入。

你的这个建议重新引起了我对引入 jq 的重视,我觉得可以同时支持 jqyq 来操作。你有兴趣和时间为Docker添加jqyq这两个支持吗?

我重新开了一个issue:#100

相关联的文件:https://github.com/RubyMetric/chsrc/blob/main/src/recipe/ware/Docker-Hub.c

@ccmywish ccmywish changed the title dockerhub 可用源 [Source] Docker Hub 可用源 Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
软件 软件
Projects
None yet
Development

No branches or pull requests

5 participants