mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
container: T4947: support mounting container volumes as ro or rw
This commit is contained in:
parent
9ef754ca58
commit
c090fa22b9
@ -89,6 +89,10 @@ Configuration
|
|||||||
set container name coredns volume 'corefile' source /config/coredns/Corefile
|
set container name coredns volume 'corefile' source /config/coredns/Corefile
|
||||||
set container name coredns volume 'corefile' destination /etc/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]
|
.. cfgcmd:: set container name <name> restart [no | on-failure | always]
|
||||||
|
|
||||||
Set the restart behavior of the container.
|
Set the restart behavior of the container.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user