summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Vollmar <nvo@scaling.ch>2024-06-10 08:48:04 +0200
committerNicolas Vollmar <nvo@scaling.ch>2024-06-10 08:48:04 +0200
commita3205cd2ee142ee41239a06acdd2994a3a372de0 (patch)
treec3fc2f0b2635bc3b84aa32417df538533c76d90c
parent411850b9076e5a6638c15e980e094f5f97f74329 (diff)
downloadvyos-documentation-a3205cd2ee142ee41239a06acdd2994a3a372de0.tar.gz
vyos-documentation-a3205cd2ee142ee41239a06acdd2994a3a372de0.zip
T6219: Add doc for container sysctl parameter
-rw-r--r--docs/configuration/container/index.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/configuration/container/index.rst b/docs/configuration/container/index.rst
index 399f2ef5..a1672aa7 100644
--- a/docs/configuration/container/index.rst
+++ b/docs/configuration/container/index.rst
@@ -168,6 +168,17 @@ Configuration
setdomainame)
- **sys-time**: Permission to set system clock
+.. cfgcmd:: set container name <name> sysctl parameter <parameter> value <value>
+
+ Set container sysctl values.
+
+ The subset of possible parameters are:
+
+ - Kernel Parameters: kernel.msgmax, kernel.msgmnb, kernel.msgmni, kernel.sem,
+ kernel.shmall, kernel.shmmax, kernel.shmmni, kernel.shm_rmid_forced
+ - Parameters beginning with fs.mqueue.*
+ - Parameters beginning with net.* (only if user-defined network is used)
+
.. cfgcmd:: set container name <name> label <label> value <value>
Add metadata label for this container.