summaryrefslogtreecommitdiff
path: root/docs/configuration/container/index.rst
diff options
context:
space:
mode:
authorNicolas Vollmar <nvo@scaling.ch>2024-05-15 12:56:47 +0200
committerNicolas Vollmar <nvo@scaling.ch>2024-05-15 12:56:47 +0200
commit02739d2a03f6edff1755594b4997635e15a8624f (patch)
treeeaa25caacfbe5d26362d5eca76d9be5c4abe59d5 /docs/configuration/container/index.rst
parentef0911854c8c10746d9a6768597621b9d3d40f5c (diff)
downloadvyos-documentation-02739d2a03f6edff1755594b4997635e15a8624f.tar.gz
vyos-documentation-02739d2a03f6edff1755594b4997635e15a8624f.zip
Add missing container commands
Diffstat (limited to 'docs/configuration/container/index.rst')
-rw-r--r--docs/configuration/container/index.rst25
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/configuration/container/index.rst b/docs/configuration/container/index.rst
index e5a470bc..1ca7150e 100644
--- a/docs/configuration/container/index.rst
+++ b/docs/configuration/container/index.rst
@@ -27,6 +27,27 @@ Configuration
set container name mysql-server image quay.io/mysql:8.0
+.. cfgcmd:: set container name <name> entrypoint <entrypoint>
+
+ Override the default entrypoint from the image for a container.
+
+.. cfgcmd:: set container name <name> command <command>
+
+ Override the default command from the image for a container.
+
+.. cfgcmd:: set container name <name> arguments <arguments>
+
+ Set the command arguments for a container.
+
+.. cfgcmd:: set container name <name> uid <userid>
+.. cfgcmd:: set container name <name> gid <groupid>
+
+ Set user ID and/or group ID a container will run as.
+
+.. cfgcmd:: set container name <name> host-name <hostname>
+
+ Set the host name for a container.
+
.. cfgcmd:: set container name <name> allow-host-networks
Allow host networking in a container. The network stack of the container is
@@ -128,6 +149,10 @@ Configuration
- **sys-admin**: Administration operations (quotactl, mount, sethostname, setdomainame)
- **sys-time**: Permission to set system clock
+.. cfgcmd:: set container name <name> label <label> value <value>
+
+ Add metadata label for this container.
+
.. cfgcmd:: set container name <name> disable
Disable a container.