-
-
Notifications
You must be signed in to change notification settings - Fork 235
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
docker daemon 代理使用 #172
Comments
大佬在吗? 为啥代理怎么都不走,我配置deason.json也没用,配置手动创建一个 目录 也没用, 配置 shell 环境变量的不走, 但是我opkg update是走代理的,我能看到流量数据 |
各种配置都用过了不行
加default节点也不行 |
在 /etc/systemd/system/docker.service.d/http-proxy.conf配置代理也不行 |
|
|
镜像也是废的,虽然识别/etc/docker/daemon.json但是不走,一直是这个错误
或者
dockerd 运行 提示 /etc/systemd/system/docker.service.d# dockerd |
我也尝试过在无root下配置 |
他应该需要的是http代理,你的代理正确吗 |
代理百分百正确 ,在shell里面配置正常的,但是 不走, 我尝试过网上各种docker配置代理方法也搞不定 |
|
你现在是改了 proxy 后 dockerd 启动出问题?还是启动没问题,无法生效? |
docker启动正常呀,就是永远都拉取不了 东西呀,这变成离线版本了 |
用的openwrt是 |
docker镜像内容器是有网的,我特意整了一个 http 访问的传递baidu.com容器内就会自动返回baidu的结果 |
用不用代理都是一样的错误。。 代理到底应该怎么配置,目前 配置到daemon提示不支持的配置 |
你可能需要安装文档来操作:https://docs.docker.com/engine/reference/commandline/dockerd/#proxy-configuration |
大佬,我这个怎么升级呢,还是说不能升级呀 openwrt |
我就是用的使用环境变量(HTTP_PROXY、HTTPS_PROXY和NO_PROXY)。 也就是 linux shell,上面的图已经证明了, shell工作中。 |
这个luci-app-dockerman会生成daemon.json,在 "proxies": {
"http-proxy": "http://example.com:8848",
"https-proxy": "http://example.com:8848",
"no-proxy": "127.0.0.0/8"
}, 才会生效 |
建议luci-app-dockerman提供配置代理的选项 |
可以在/etc/config/dockerd配置alt_config_file为自己的daemon.json文件 |
因为最近拉不下来东西, 代理也不走,头大啊 而且最后的错误永远是官方镜像源的错误
The text was updated successfully, but these errors were encountered: