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

Solution In Progress - Updated -

Issue

  • 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?

Environment

  • 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