逍遥玩Blog:NAS系统使用经验分享

  • 首页
  • 推荐NAS主机
  1. 首页
  2. 群晖DSM套件
  3. 正文

Docker被墙提示查询注册表失败-docker仓库后命令行映像安装教程

2023年6月6日 7253点热度 0人点赞 0条评论

最近很多使用群晖DSM系统时,打开docker在查询注册表一直提示注册表查询失败,导致docker无法查询安装。据未证实消息,是https://hub.docker.com 服务器因某些因素被,然后被墙了...

解决查询注册表失败,无法通过修改hosts来解决,只能通过魔法科学,但这一步基本劝退99%的伙伴了。

除了魔法科学,其实也可以通过修改DockerHub镜像来正常的docker pull(仓库拉取),然后下载,只是依然不可以通过UI查询界面搜索。

DockerHub下载镜像列表:

  1. 阿里云(杭州) https://registry.cn-hangzhou.aliyuncs.com
  2. 阿里云(上海) https://registry.cn-shanghai.aliyuncs.com
  3. 阿里云(青岛) https://registry.cn-qingdao.aliyuncs.com
  4. 阿里云(北京) https://registry.cn-beijing.aliyuncs.com
  5. 阿里云(张家口) https://registry.cn-zhangjiakou.aliyuncs.com
  6. 阿里云(呼和浩特) https://registry.cn-huhehaote.aliyuncs.com
  7. 阿里云(乌兰察布) https://registry.cn-wulanchabu.aliyuncs.com
  8. 阿里云(深圳) https://registry.cn-shenzhen.aliyuncs.com
  9. 阿里云(河源) https://registry.cn-heyuan.aliyuncs.com
  10. 阿里云(广州) https://registry.cn-guangzhou.aliyuncs.com
  11. 阿里云(成都) https://registry.cn-chengdu.aliyuncs.com
  12. 腾讯云 https://mirror.ccs.tencentyun.com
  13. 微软云 https://dockerhub.azk8s.com
  14. 网易 https://hub-mirror.c.163.com
  15. 上海交通大学 https://mirror.sjtu.edu.cn/docs/docker-registry
  16. 南京大学 https://docker.nju.edu.cn
  17. 道客 DaoCloud https://f1361db2.m.daocloud.io
  18. 阿里云(香港) https://registry.cn-hongkong.aliyuncs.com
  19. 阿里云(日本-东京) https://registry.ap-northeast-1.aliyuncs.com
  20. 阿里云(新加坡) https://registry.ap-southeast-1.aliyuncs.com
  21. 阿里云(澳大利亚-悉尼) https://registry.ap-southeast-2.aliyuncs.com
  22. 阿里云(马来西亚-吉隆坡)https://registry.ap-southeast-3.aliyuncs.com
  23. 阿里云(印度尼西亚-雅加达)https://registry.ap-southeast-5.aliyuncs.com
  24. 阿里云(印度-孟买)https://registry.ap-south-1.aliyuncs.com
  25. 阿里云(德国-法兰克福) https://registry.eu-central-1.aliyuncs.com
  26. 阿里云(英国-伦敦) https://registry.eu-west-1.aliyuncs.com
  27. 阿里云(美国西部-硅谷) https://registry.us-west-1.aliyuncs.com
  28. 阿里云(美国东部-弗吉尼亚) https://registry.us-east-1.aliyuncs.com
  29. 阿里云(阿联酋-迪拜) https://registry.me-east-1.aliyuncs.com
  30. 谷歌云 https://gcr.io
  31. 官方 https://registry.hub.docker.com

设置镜像服务器:

如图打开到docker 注册表,设置,选中docker Hub,编辑,然后添加镜像,个人推荐使用微软云镜像服务器,不建议阿里云,因为阿里云镜像服务器不全。

设置好镜像服务器后,可以使用ssh连接到NAS主机,通过命令行进行docker pull ,而且下载速度也很快。

手动拉取镜像:

使用PuTTY工具ssh登录,并sudo权限,具体操作也可以参考以前公众号文章。

这里以安装docker版本的jellyfin为例。

输入拉取命令:

docker pull jellyfin/jellyfin:latest

docker pull是拉取命令,jellyfin/jellyfin:latest 是具体的注册表映像名称,这里可以根据自己的需要更换名称,然后拉取安装不同的注册表映像即可。

输入命令后可以看到提示,分别是pull,downloading,extracting三个拉取、下载、解压动作。

完全后会以有上提示。

这时点开左侧的映像,可以看到jellyfin映像已经下载完成。只要直接双击就可以正常安装设置安装使用了。

Docker官服被墙,只是UI查询无法正常进行,我们只要获知具体docker应用的映像名称,就可以通过命令行进行正常安装。

具体更改名称,版本选择等使用命令也可自行百度学习。

更多NAS原创教程工具等,可扫描上方二维码或关注微信公众号xwy-nas

标签: docker 群晖7.1
最后更新:2023年6月6日

xyw

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复
公众号:xwy-nas
最新 热点 随机
最新 热点 随机
群晖DSM7.2系统无账号激活Active Backup for Business(ABB)备份套件教程 群晖7.2ARPL编译新增功能插件的引导镜像img文件及DSM7.2系统全新安装设置教程 ARPL i18n群晖引导编译插件-硬盘显示面板缩略图修改storagepanel插件安装教程 全新12代 intel N95四核5盘位成品NAS主机上线--群晖DSM7.2洗白开箱即用 黑群晖DSM7.X视频套件Video Station豆瓣插件电影海报墙失效的解决详细教程-适用dsm7.2 使用arpl-i18n编译群晖SA6400引导支持11代cpu硬件解码教程
群晖docker结合阿里域名解决黑群远程访问公网ip变化问题 使用EXSI的虚拟硬盘方式安装群晖918 DSM7系统的教程 群晖DSM6.x.系统保留数据 升级DSM7.0.1教程(蜗牛星际/蜜獾超存) 群晖DSM7.2系统无账号激活Active Backup for Business(ABB)备份套件教程 蜗牛星际蜜獾等黑群常见问题及解决办法汇总(累计115个,不定期更新) 黑群晖注册和登录QuickConnect使用注意事项
分类目录
  • TrueNas系统
  • 其它系统
  • 威联通Qnap
  • 未分类
  • 硬件数码
  • 群晖DSM套件
  • 群晖DSM系统
  • 软件工具补丁资源
  • 软路由系统
归档
  • 2023年10月
  • 2023年9月
  • 2023年8月
  • 2023年7月
  • 2023年6月
  • 2023年5月
  • 2023年4月
  • 2023年3月
  • 2023年2月
  • 2023年1月
  • 2022年12月
  • 2022年11月
  • 2022年10月
  • 2022年9月
  • 2022年8月
  • 2022年7月
  • 2022年6月
  • 2022年5月
  • 2022年4月
  • 2022年3月
  • 2022年2月
  • 2022年1月
  • 2021年12月
  • 2021年11月

COPYRIGHT © 2022 逍遥玩Blog:NAS与数码修行. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang