mirror of
https://github.com/containers/podman.git
synced 2025-10-17 19:24:04 +08:00

This reverts commit c12b1b32bc165766c1aa229ca05432c75cc74c3b. The content contains incorrect information and misses a lot of details from the previous page that must be restored. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
591 B
591 B
####> This option file is used in: ####> podman create, run ####> If file is edited, make sure the changes ####> are applicable to all of those.
--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 no options are specified, the system uses the following options: rw,noexec,nosuid,nodev.