Docker Community Forums

Share and learn in the Docker community.

Unable to set net.bridge.bridge-nf-call-iptables within Docker container


(Jdt2) #1

Hi, I’m trying to control whether or not packets traversing a bridge I’ve set up in my Docker container are sent to iptables for processing using the following command:

sysctl -w net.bridge.bridge-nf-call-iptables=“1”

Unfortunately, this doesn’t work:

sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-iptables: No such file or directory

It appears that there isn’t a /proc/sys/net/bridge directory in my Docker container, despite the directory existing in my host machine. The same command works when run on the host machine. I’ve checked, and as far as I’m aware all of the correct modules are installed on the host machine and are appearing in the Docker container.

Google has been of no use, so I’m wondering if any else has seen this issue and/or has a solution?


(Srudkj) #2

Hi.

Did you ever resolve this?
If so, how?

I am facing similar issues but with syncookies.

Best regards Steffen.