From ab3694bc4d01ce3b27e6d89de36a7246860b7167 Mon Sep 17 00:00:00 2001 From: rebortg Date: Wed, 8 Jun 2022 22:00:08 +0200 Subject: fix container command syntax --- docs/configuration/container/index.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/configuration/container') diff --git a/docs/configuration/container/index.rst b/docs/configuration/container/index.rst index ed510477..796b6146 100644 --- a/docs/configuration/container/index.rst +++ b/docs/configuration/container/index.rst @@ -26,7 +26,7 @@ Configuration image that does not include the registry in the image name, Vyos will use docker.io as the container registry. -.. cfgcmd:: set container image +.. cfgcmd:: set container name image Sets the image name in the hub registry @@ -42,7 +42,7 @@ Configuration set container name mysql-server image quay.io/mysql:8.0 -.. cfgcmd:: set container allow-host-networks +.. cfgcmd:: set container name allow-host-networks Allow host networking in a container. The network stack of the container is not isolated from the host and will use the host IP. @@ -52,11 +52,11 @@ Configuration .. note:: **allow-host-networks** cannot be used with **network** -.. cfgcmd:: set container description +.. cfgcmd:: set container name description Sets the container description -.. cfgcmd:: set container environment '' value '' +.. cfgcmd:: set container name environment '' value '' Add custom environment variables. Multiple environment variables are allowed. @@ -70,7 +70,7 @@ Configuration set container name mysql-server environment 'MYSQL_PASSWORD' value 'zabbix_pwd' set container name mysql-server environment 'MYSQL_ROOT_PASSWORD' value 'root_pwd' -.. cfgcmd:: set container network +.. cfgcmd:: set container name network Attaches user-defined network to a container. Only one network must be specified and must already exist. @@ -84,7 +84,7 @@ Configuration .. note:: The first IP in the container network is reserved by the engine and cannot be used -.. cfgcmd:: set container port [source | destination ] +.. cfgcmd:: set container name port [source | destination ] Publishes a port for the container @@ -93,7 +93,7 @@ Configuration set container name zabbix-web-nginx-mysql port http source 80 set container name zabbix-web-nginx-mysql port http destination 8080 -.. cfgcmd:: set container volume [source | destination ] +.. cfgcmd:: set container name volume [source | destination ] Mount a volume into the container -- cgit v1.2.3