-
Notifications
You must be signed in to change notification settings - Fork 708
feat: add support for com.docker.network.bridge.enable_icc network option #4311
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
Conversation
c85e72d to
bea516f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
bea516f to
e0f7d38
Compare
|
Looks like the test disabling ICC is failing on a few platform. Taking a look. |
|
Moving to the v2.1.4 milestone |
e0f7d38 to
a518963
Compare
546602c to
9ce8625
Compare
|
Needs rebase, in addition to fixing the CI |
c83c41a to
8d9aa54
Compare
@AkihiroSuda I had a hard time debugging the CI failures since this was working on my local test host. Finally, figured out that the the test are failing because the ubuntu runners do not have We will need to load the module in our ubuntu runners first for this test to work. Given we have other features that also rely on cni firewall rules, I am thinking of enabling it across all the runners. let me know what you think? |
👍, but maybe you do not need to modprobe it explicitly if you mount
(and in the similar places in other |
I tried this option, but ran into the same errors swagatbora90@06d49d0. Looks like I need to load the br_netfilter module explicitly as they are not loaded by default. |
|
Opened [https://github.com//pull/4481] to load the br_netfilter module inn the runners. |
8d9aa54 to
6321a57
Compare
…tion Signed-off-by: Swagat Bora <[email protected]>
6321a57 to
45816cd
Compare
|
Test failures are not related and appear to be one of the flaky ones. |
|
@AkihiroSuda @apostasie Tests are passing now after latest CI update to load the br_netfilter module. I think this PR is good to be merged now. Still seeing some random flaky test failures though, but appears to be unrelated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
This PR adds support for docker compatible
com.docker.network.bridge.enable_iccor--iccnetwork create option. This option is used to enable/disable intercontainer connectivity.By default, any bridge network allows connectivity between containers attached to the same network, while containers in different networks are isolated. The enable_icc feature can be further used to enable/disable intra bridge container connectivity.
Requires firewall plugin >= v1.7.1
Testing
com.docker.network.bridge.enable_iccset to false, saytest-nettest-nettest-netWith icc=true, it will fallback to default behavior