How to run rootless podman inside an OpenShift Pod and a custom SCC

Solution Verified - Updated -

Issue

  • Need to run container image scanner (Twistlock or other) inside a container image
  • Error: crun: mount proc to proc when running podman rootless in an OpenShift Pod

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4.12 and higher
  • Red Hat UBI Podman Container Image

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