summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-02-24 21:28:27 +0100
committerGitHub <noreply@github.com>2025-02-24 21:28:27 +0100
commitb347ea2cfc2d08a57335c0876a70825a840841ea (patch)
tree83066b6e807bc0f4e05fd642ed401afa5d0579a5 /docs
parentd615588b4aecb4a9adea7449c5410448a79c1bce (diff)
parent32c96681a66171281070c464968ff562d2cde404 (diff)
downloadvyos-documentation-b347ea2cfc2d08a57335c0876a70825a840841ea.tar.gz
vyos-documentation-b347ea2cfc2d08a57335c0876a70825a840841ea.zip
Merge pull request #1600 from Embezzle/T7185
container: T7185: Allow tmpfs mounts within containers
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/container/index.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/configuration/container/index.rst b/docs/configuration/container/index.rst
index 979996b0..df8beed1 100644
--- a/docs/configuration/container/index.rst
+++ b/docs/configuration/container/index.rst
@@ -124,6 +124,15 @@ Configuration
Volume is either mounted as rw (read-write - default) or ro (read-only)
+.. cfgcmd:: set container name <name> tmpfs <tmpfsname> destination <path>
+
+ Mount a tmpfs *(ramdisk)* filesystem to the given path within the container.
+
+.. cfgcmd:: set container name <name> tmpfs <tmpfsname> size <MB>
+
+ Size in MB for tmpfs filesystem, maximum size is 64GB or 50% of the
+ systems total available memory.
+
.. cfgcmd:: set container name <name> uid <number>
.. cfgcmd:: set container name <name> gid <number>