dhoo Posted June 29, 2023 Share Posted June 29, 2023 (edited) 我是在软路由器对Unraid主机设置了代理,有一些软件不需要走代理比如qbittorrent 这类,对不需要走代理的软件我是用了 br0 单独对设置了独立的IP, 例如192.168.2.36, 给镜像设置了独立IP后 宿主机不能直接访问,其他设备可以正常访问,有什么办法可以让宿主机访问设置了独立IP的Docker镜像。 Docker网络类型是macvlan。 Edited June 29, 2023 by dhoo Quote Link to comment
dhoo Posted June 29, 2023 Author Share Posted June 29, 2023 我在Docker设置界面有看到 , "主机访问自定义网络“ 这个设置默认是禁用状态,打开后能解决宿主机不能与Docker 通信的问题吗, 打开后会有什么弊端和坑吗 Quote Link to comment
dhoo Posted December 11, 2023 Author Share Posted December 11, 2023 9 hours ago, 火染轩辕 said: 我现在也有这个问题,请问解决了吗 源头上没解决,现在我是用LXC容器上部署Nginx给独立IP的Docker做了一个反向代理,通过LXC来访问那些服务 Quote Link to comment
JackieWu Posted December 11, 2023 Share Posted December 11, 2023 On 6/29/2023 at 5:49 PM, dhoo said: 我在Docker设置界面有看到 , "主机访问自定义网络“ 这个设置默认是禁用状态,打开后能解决宿主机不能与Docker 通信的问题吗 可以,不会引出什么问题。 Quote Link to comment
Recommended Posts
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.