podman/docs/source/markdown/options/tmpfs.md

15 lines
450 B
Markdown

#### **--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**.