1 1rv013c6aiWPGt24 2024-07-26 15:11:26 +08:00 via Android 架设代理吧 |
![]() | 2 NoobNoob030 2024-07-26 15:12:41 +08:00 ![]() |
![]() | 3 caryqy 2024-07-26 15:18:04 +08:00 vim /etc/docker/daemon.json { "proxies":{ "http-proxy":"http://127.0.0.1:8889", "https-proxy":"http://127.0.0.1:8889", "no-proxy": "*.cn,*.aliyun.com,*.aliyuncs.com,*.163.com,*.baiduce.com,*.qiniu.com ,*.daocloud.io,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,100.64.0.0/10" } } 本地开发可以这样配置 |
![]() | 4 Zgu07h402a8S2Xgk 2024-07-26 15:20:31 +08:00 @NoobNoob030 请问群晖上怎么用这个 |
![]() | 5 NoobNoob030 2024-07-26 15:22:57 +08:00 @xiaomayi000 docker pull nginx:alpine 改成 docker pull docker.cloudimages.asia/nginx:alpine ,docker-compose 同理 |
![]() | 6 qping 2024-07-26 15:30:18 +08:00 centos 上是这么给 docker pull 设代理的 /etc/systemd/system/docker.service.d/http-proxy.conf ``` [Service] EnvirOnment="HTTP_PROXY=http://192.168.1.11:8890" EnvirOnment="HTTPS_PROXY=http://192.168.1.11:8890" EnvirOnment="NO_PROXY=localhost,192.168.*.*" |
![]() | 7 AirBai2 2024-07-26 15:31:23 +08:00 翻墙 |
![]() | 8 jasonkayzk 2024-07-26 15:48:36 +08:00 docker pull 镜像源/alpine:latest docker tag 镜像源/alpine:latest alpine:latest docker rmi 镜像源/alpine:latest 上面三个改成一个 shell 函数;用起来跟原来一样。 |
![]() | 9 lifei6671 2024-07-26 15:54:49 +08:00 https://github.com/cmliu/CF-Workers-docker.io 白嫖 cloudflare 的 workers ,部署了自己用。 |
![]() | 10 KagurazakaNyaa 2024-07-26 15:58:04 +08:00 内网搭一个 nexus ,然后配置几个 docker(proxy)到 docker.io/gcr.io/ghcr.io/quay.io......然后配置一个 docker(group)把这些 repo 聚合起来,在/etc/docker/daemon.json 里配置镜像源 |
![]() | nbsp; 11 totoro625 2024-07-26 16:06:57 +08:00 @XiLingHost #10 nexus 真的不错,我甚至映射到了公网访问 |
12 mayli 2024-07-27 10:00:45 +08:00 docker pull? |
13 lichen0501 2024-08-27 11:38:55 +08:00 @XiLingHost 我试了两个镜像站 proxy ,然后通过 group 访问,都是按照网上操作来的,但是总是报错:Error response from daemon: manifest for docker.yqzh.cloud/nginx:latest not found: manifest unknown: manifest unknown ,不知道哪里出问题了 |
![]() | 14 KagurazakaNyaa 2024-08-27 11:57:46 +08:00 @lichen0501 试试 docker.yqzh.cloud/library/nginx:latest |
![]() | 15 scoful 171 天前 - docker 的话,推荐一下我的开源项目(狗头保护,求 star ) https://github.com/scoful/pocker - 试用地址: https://pocker4u.vercel.app/ - 试用密钥:pocker4u - 文档: https://pocker-doc.vercel.app/ |
![]() | 16 SeanChang PRO |