New answers tagged sysctl
I also have this problem on Ubuntu 14.04.1 net.bridge.bridge-nf-call-ip6tables = 0 net.bridge.bridge-nf-call-iptables = 0 net.bridge.bridge-nf-call-arptables = 0 Are not set on reboot!!! I have to manually do: sudo brctl show sudo sysctl -p Only then the parameters are set?! This is so frustrating. I'm setting up a HA system and I need net.bridge.X ...
This particular setting falls under the influence of the network namespace that docker runs in. As a general rule /proc does alter settings that are relevent systemwide, technically speaking however you are altering settings in /proc/net which returns results on a per network namespace basis. Note that /proc/net is actually a symlink to /proc/self/net as ...
The privileged container is still using its own process namespace for /proc. What you can do is to mount the real /proc inside the container: docker run --rm --privileged -v /proc:/host-proc ubuntu:latest \ 'echo 65535 > /host-proc/sys/net/core/somaxconn'
Top 50 recent answers are included