diff options
author | Christian Breunig <christian@breunig.cc> | 2023-01-21 14:14:16 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-01-21 14:15:50 +0100 |
commit | 2288805024d5875b73e6e4f13bf8be6cab459777 (patch) | |
tree | 6c022558c62b554fe33c0c43d1cac5efb5bda447 /docs/configuration/container | |
parent | 890c151dc318caf5bd9a7282ef1f83cd8ee51a3f (diff) | |
download | vyos-documentation-2288805024d5875b73e6e4f13bf8be6cab459777.tar.gz vyos-documentation-2288805024d5875b73e6e4f13bf8be6cab459777.zip |
container: T4947: support mounting container volumes as ro or rw
(cherry picked from commit c090fa22b92053e98eb453abda853698217b871b)
Diffstat (limited to 'docs/configuration/container')
-rw-r--r-- | docs/configuration/container/index.rst | 6 |
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 |