container: T4947: support mounting container volumes as ro or rw

(cherry picked from commit c090fa22b92053e98eb453abda853698217b871b)
This commit is contained in:
Christian Breunig 2023-01-21 14:14:16 +01:00
parent 890c151dc3
commit 2288805024

View File

@ -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
set container name zabbix-web-nginx-mysql port http destination 8080