Rootless podman mounting root volume is not possible as per security design.

Solution Verified - Updated -

Issue

It is not possible to use a volume defined by root as any rootless user. Specifically, configurations between all users, rootless and otherwise, are kept entirely separate; /var/lib/containers is used as a storage and configuration path for the root user, while every other user has their own local configuration path in their appropriate home directories or otherwise configured desired directory.

Environment

  • Podman
  • Openshift Container Platform 4.

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