summaryrefslogtreecommitdiff
path: root/docs/source/markdown/options/tmpfs.md
blob: 0d6652dcdb153794f89722e8d7a9de3eb8de9d39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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**.