[解决了]docker被自动加了代理,怎么去掉呀


Recommended Posts

解决了,记录一下

/boot/config/plugins/dockerman/config.json.删掉里面代理信息

 

如题,我本来是在unraid网络设置里,设置了默认网关是op的ip,比如192.168.10.200.结果docker里面自动把op这个ip设置成代理服务器地址了,导致docker上不了网了。我现在把unraid的网络设置里默认管网改成了正常网关192.169.10.1.但docker里的代理服务器还是没有被去掉。怎么办

image.png.8e35af6d98c92704c3d88e3fc79837f1.png

Edited by wbh
Link to comment

还没搞清楚为什么docker自动给了这个环境变量,我已经没有指定200这个ip做网关了,唉

然后只有在unraid里安装Portainer-CE,停止docker,修改受影响的docker,删除这几个环境变量,再启动就好了。虽然没有从根本上解决问题,但暂时先怎么弄吧

Link to comment
  • wbh changed the title to [解决了]docker被自动加了代理,怎么去掉呀

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.