有趣的闲猫 Posted May 23, 2022 Share Posted May 23, 2022 打开docker的主机访问自定义网络功能后,会自动生成一个ip via shim-br0网络接口,这个接口有ipv4和ipv6,而且重启后mac会更改,这会导致上级路由代理过滤mac功能的失效 Quote Link to comment
有趣的闲猫 Posted May 23, 2022 Author Share Posted May 23, 2022 打开这个功能后会生成shim-br0和ip via shim-br0接口 Quote Link to comment
有趣的闲猫 Posted May 23, 2022 Author Share Posted May 23, 2022 如果是bug希望尽快修复,如果不是bug,希望可以增加mac固定的功能,要不然这个功能我目前只能关闭 Quote Link to comment
Solution 有趣的闲猫 Posted May 23, 2022 Author Solution Share Posted May 23, 2022 ip via shim-br0解决办法 主要是br0是之前用命令创建的,估计是这个原因 docker network rm br0 删除br0 从官网的安装包中/boot/config/network.cfg,复制一份到自己的unraid里面,恢复默认网络 然后把/var/lib/docker/network/files/local-kv.db,改成local-kv.db.bak,然后重启docker,会自动创建br0 然后就正常了。。 【唠叨】苏州-厌世([email protected]) 22:27:02 我是这么解决的,里面的文件尽量加bak别直接删除 My solution is: Download a compressed package from the official website Download Unraid Server OS rename the `/boot/config/network.cfg` to `/boot/config/network.cfg.bak` extract /boot/config/network.cfg to unraid rename the `/var/lib/docker/network/files/local-kv.db` to `/var/lib/docker/network/files/local-kv.db.bak` and Restart docker 2 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.