summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorNicolas Vollmar <nvo@scaling.ch>2024-06-10 08:48:04 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-06-11 06:07:34 +0000
commitf3d731e6fcbe77c55673359b3446cd75860679ae (patch)
tree700a6648d16730b9334577b6bb5c725ba453c61a /docs/configuration
parentb09dc4e30f81865877702b4194043273864c68ca (diff)
downloadvyos-documentation-f3d731e6fcbe77c55673359b3446cd75860679ae.tar.gz
vyos-documentation-f3d731e6fcbe77c55673359b3446cd75860679ae.zip
T6219: Add doc for container sysctl parameter
(cherry picked from commit a3205cd2ee142ee41239a06acdd2994a3a372de0)
Diffstat (limited to 'docs/configuration')
-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.