summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-06-13 07:21:44 +0200
committerGitHub <noreply@github.com>2024-06-13 07:21:44 +0200
commit5a5c8fd3056cc0a012da204f511eb50aa403e526 (patch)
tree227321276d023a4470e82333186e85fc180bc400 /docs
parent23d4af4ee676611f111bd684af125bcbfc279740 (diff)
parentf3d731e6fcbe77c55673359b3446cd75860679ae (diff)
downloadvyos-documentation-5a5c8fd3056cc0a012da204f511eb50aa403e526.tar.gz
vyos-documentation-5a5c8fd3056cc0a012da204f511eb50aa403e526.zip
Merge pull request #1477 from vyos/mergify/bp/sagitta/pr-1476
T6219: Add doc for container sysctl parameter (backport #1476)
Diffstat (limited to 'docs')
-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.