Podman creates tmpfs over anonymous volume on /tmp inside the container

Solution Verified - Updated -

Issue

  • When creating a container with podman 4.4.1 with --read-only option creates an anonymous volume on /tmp which results in podman mapping a tmpfs volume over it and has no noexec set.

Environment

  • Red Hat Enterprise Linux 8
  • Podman Version 4.4.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content