Docker Community Forums

Share and learn in the Docker community.

Changing non-namespaced kernel parameters in running containers

Hello Community,

I have a process that needs to change non-namespaced sysctl parameters like net.core.rmem_max. I know that according to the documentation, this is not possible/allowed in the current version of Docker Engine (CE).

If I’m not wrong, one way to be able to touch these parameters from inside the container is to run the container with --net=host option on the docker run command. However, this option does not meet my requirements. Is there any other way, or workaround to do this?

Thanks in advance!


I have the some issue. Have you find the answer ?