|
1rv013c6aiWPGt24Jul 26, 2024 via Android
1
架设代理吧
|
|
2
|
|
caryqyJul 26, 2024
3
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" } } 本地开发可以这样配置 |
|
Zgu07h402a8S2XgkJul 26, 2024
4
@NoobNoob030 请问群晖上怎么用这个
|
|
NoobNoob030Jul 26, 2024
5
@xiaomayi000
docker pull nginx:alpine 改成 docker pull docker.cloudimages.asia/nginx:alpine ,docker-compose 同理 |
|
qpingJul 26, 2024
6
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.*.*" ··· |
|
DaXiGaJul 26, 2024
7
翻墙
|
|
jasonkayzkJul 26, 2024
8
docker pull 镜像源/alpine:latest
docker tag 镜像源/alpine:latest alpine:latest docker rmi 镜像源/alpine:latest 上面三个改成一个 shell 函数;用起来跟原来一样。 |
|
lifei6671Jul 26, 2024
9
https://github.com/cmliu/CF-Workers-docker.io
白嫖 cloudflare 的 workers ,部署了自己用。 |
|
KagurazakaNyaaJul 26, 2024
10
内网搭一个 nexus ,然后配置几个 docker(proxy)到 docker.io/gcr.io/ghcr.io/quay.io......然后配置一个 docker(group)把这些 repo 聚合起来,在/etc/docker/daemon.json 里配置镜像源
|
|
totoro625Jul 26, 2024
11
@XiLingHost #10 nexus 真的不错,我甚至映射到了公网访问
|
|
mayliJul 27, 2024
12
docker pull?
|
|
lichen0501Aug 27, 2024
13
@XiLingHost 我试了两个镜像站 proxy ,然后通过 group 访问,都是按照网上操作来的,但是总是报错:Error response from daemon: manifest for docker.yqzh.cloud/nginx:latest not found: manifest unknown: manifest unknown ,不知道哪里出问题了
|
|
KagurazakaNyaaAug 27, 2024
14
@lichen0501 试试 docker.yqzh.cloud/library/nginx:latest
|
|
scofulApr 22, 2025
15
- docker 的话,推荐一下我的开源项目(狗头保护,求 star ) https://github.com/scoful/pocker
- 试用地址: https://pocker4u.vercel.app/ - 试用密钥:pocker4u - 文档: https://pocker-doc.vercel.app/ |
|
16
|