I set net.core.somaxconn = 65535
in /etc/sysctl.conf inside an Ubuntu image.
But the net.core.somaxconn
turns to 128 in the container using command sysctl -a | grep net.core.somaxconn
.
After I execute sysctl -p
, it turns to 65535.
Why doesn't /etc/sysctl.conf work when running a container (Docker 0.9) ?