summaryrefslogtreecommitdiff
path: root/docs/source/markdown/options/tmpfs.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/markdown/options/tmpfs.md')
-rw-r--r--docs/source/markdown/options/tmpfs.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/source/markdown/options/tmpfs.md b/docs/source/markdown/options/tmpfs.md
new file mode 100644
index 000000000..0d6652dcd
--- /dev/null
+++ b/docs/source/markdown/options/tmpfs.md
@@ -0,0 +1,14 @@
+#### **--tmpfs**=*fs*
+
+Create a tmpfs mount.
+
+Mount a temporary filesystem (**tmpfs**) mount into a container, for example:
+
+```
+$ podman <<subcommand>> -d --tmpfs /tmp:rw,size=787448k,mode=1777 my_image
+```
+
+This command mounts a **tmpfs** at _/tmp_ within the container. The supported mount
+options are the same as the Linux default mount flags. If you do not specify
+any options, the system uses the following options:
+**rw,noexec,nosuid,nodev**.