Skip to content

Commit

Permalink
container: T4947: support mounting container volumes as ro or rw
Browse files Browse the repository at this point in the history
(cherry picked from commit c090fa2)
  • Loading branch information
c-po committed Jan 21, 2023
1 parent 890c151 commit 2288805
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/configuration/container/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down Expand Up @@ -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

0 comments on commit 2288805

Please sign in to comment.