Files
podman/docs/source/markdown/options/tmpfs.md
Paul Holzinger bb422c8372 Revert "Change the syntax to not depend on jinja2."
This reverts commit 9de737bf29.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-09-11 19:00:17 +02:00

678 B

####> This option file is used in: ####> podman podman-container.unit.5.md.in, create, run ####> If file is edited, make sure the changes ####> are applicable to all of those. {% if is_quadlet %}

Tmpfs=

{% else %}

--tmpfs=fs

{% endif %}

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.