Why do '--restart=always' flag fails to restart container using podman in RHEL 8.4 with root user ?

Solution Verified - Updated -

Issue

  • The containers created with --restart=always option doesn't work as expected in RHEL 8.4 with root user. However with rootless user, it works as expected and container auto-restarts upon exits.

Environment

  • RHEL 8.4
  • Podman-3.0.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