File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -931,7 +931,6 @@ The following sub-options (supported for `docker-compose up` and `docker-compose
931931- [network_mode](#network_mode)
932932- [restart](#restart)
933933- [security_opt](#security_opt)
934- - [sysctls](#sysctls)
935934- [userns_mode](#userns_mode)
936935
937936>**Tip:** See the section on [how to configure volumes
@@ -1730,7 +1729,12 @@ sysctls:
17301729 - net.ipv4.tcp_syncookies=0
17311730` ` `
17321731
1733- > **Note**: This option is ignored when
1732+ You can only use sysctls that are namespaced in the kernel. Docker does not
1733+ support changing sysctls inside a container that also modify the host system.
1734+ For an overview of supported sysctls, refer to [configure namespaced kernel
1735+ parameters (sysctls) at runtime](/engine/reference/commandline/run/#configure-namespaced-kernel-parameters-sysctls-at-runtime).
1736+
1737+ > This option requires Docker Engine 19.03 or up when
17341738> [deploying a stack in swarm mode](/engine/reference/commandline/stack_deploy.md)
17351739> with a (version 3) Compose file.
17361740
You can’t perform that action at this time.
0 commit comments