summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-21 14:14:16 +0100
committerGitHub <noreply@github.com>2023-01-21 14:14:16 +0100
commitc090fa22b92053e98eb453abda853698217b871b (patch)
tree7100207c9feba88ded98edb7b718c90545dbe017
parent9ef754ca58e0d89134ab847483fd7cb45a989445 (diff)
downloadvyos-documentation-c090fa22b92053e98eb453abda853698217b871b.tar.gz
vyos-documentation-c090fa22b92053e98eb453abda853698217b871b.zip
container: T4947: support mounting container volumes as ro or rw
-rw-r--r--docs/configuration/container/index.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/configuration/container/index.rst b/docs/configuration/container/index.rst
index 044e31b8..c23a6184 100644
--- a/docs/configuration/container/index.rst
+++ b/docs/configuration/container/index.rst
@@ -88,6 +88,10 @@ Configuration
set container name coredns volume 'corefile' source /config/coredns/Corefile
set container name coredns volume 'corefile' destination /etc/Corefile
+
+.. cfgcmd:: set container name <name> volume <volumename> mode <ro | rw>
+
+ Volume is either mounted as rw (read-write - default) or ro (read-only)
.. cfgcmd:: set container name <name> restart [no | on-failure | always]
@@ -216,4 +220,4 @@ Example Configuration
set container name zabbix-web-nginx-mysql environment 'MYSQL_ROOT_PASSWORD' value 'root_pwd'
set container name zabbix-web-nginx-mysql port http source 80
- set container name zabbix-web-nginx-mysql port http destination 8080 \ No newline at end of file
+ set container name zabbix-web-nginx-mysql port http destination 8080