-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Open
Labels
area/daemonCore EngineCore Enginearea/swarmkind/enhancementEnhancements are not bugs or new features but can improve usability or performance.Enhancements are not bugs or new features but can improve usability or performance.kind/featureFunctionality or other elements that the project doesn't currently have. Features are new and shinyFunctionality or other elements that the project doesn't currently have. Features are new and shiny
Description
When create a container, the namespaced kernel parameters such as /proc/sys/net/ipv4/tcp_keepalive_time are initialized to the kernel default values. Using --sysctl option of docker run, they can be overridden. However they cannot be overridden in swarm mode because --sysctl option is not supported in docker service (#25209). The only way to override them in swarm mode is to modify the kernel.
I think it would be helpful if the docker daemon can have default values of namespaced kernel parameters which can be set when the daemon starts. Then the default values can be used to initialize the namespaced kernel parameters of a newly created container to those values.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/daemonCore EngineCore Enginearea/swarmkind/enhancementEnhancements are not bugs or new features but can improve usability or performance.Enhancements are not bugs or new features but can improve usability or performance.kind/featureFunctionality or other elements that the project doesn't currently have. Features are new and shinyFunctionality or other elements that the project doesn't currently have. Features are new and shiny