What needs to be configured for a user to execute rootless Podman commands without using SSH?

Solution In Progress - Updated -


  • When using podman as a rootless user, typically that user must have gained access to the system via ssh in order to ensure all the correct settings and variables are in place for podman to execute properly under that user.
  • When using ssh to log in as a user, rootless podman commands work fine, however when using su or su - myuser, I get errors when running podman commands.
  • What settings must be enabled to ensure that a user does not need to use ssh to gain access to a system, but can still execute rootless podman commands?
  • Rootless podman commands fail with Error: could not get runtime: cannot re-exec process


  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • podman executed as a non-root user

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