jones008312 Posted April 13, 2023 Share Posted April 13, 2023 方便让macvlan网络类型的docker走旁路由 QQ截图20230413142447.bmp Quote Link to comment
pzg417 Posted April 15, 2023 Share Posted April 15, 2023 使用 docker network 命令修改 Quote Link to comment
LiuVV Posted April 15, 2023 Share Posted April 15, 2023 我用了user scripts插件,每次开机自动运行脚本,供参考 docker network rm br0 docker network create -d macvlan --subnet=192.168.1.0/24 --gateway=192.168.1.1 -o parent=br0 br0 Quote Link to comment
jones008312 Posted April 27, 2023 Author Share Posted April 27, 2023 我现在也在用这个,但是启动不了容器。因为网络ID不一样了 Quote Link to comment
VergilGao Posted April 28, 2023 Share Posted April 28, 2023 不用这么麻烦,你终端里创建一个,然后设置勾选保留用户自定义网络就行了。 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.