You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use-case where I need to disable intercontainer connectivity between containers attached to the same bridge network. With docker, I can pass com.docker.network.bridge.enable_icc=false option during network create which disables inter container connectivity. So I can do something like:
The com.docker.network.bridge.enable_icc=false docker config will result in the following iptable rule in the host's forward chain (where 'docker0' is the bridge name):
-A FORWARD -i docker0 -o docker0 -j DROP
I'm not aware of a similar functionality in CNI's bridge plugin. Is it something the community would consider to add as a new feature? If so we will be happy to contribute a patch.
Had a discussion about this issue during the last community meeting. Overall, no major concerns were raised regarding the proposed feature for the bridge plugin. The maintainers suggested that we move forward and open a PR with the proposed changes. I'll go ahead and work on that.
Hi team,
I have a use-case where I need to disable intercontainer connectivity between containers attached to the same bridge network. With docker, I can pass
com.docker.network.bridge.enable_icc=false
option duringnetwork create
which disables inter container connectivity. So I can do something like:I am trying to find out if the bridge plugin provides a similar mechanism to disable the default behavior through config?
The text was updated successfully, but these errors were encountered: