Podman and Buildah permission error when building a container image in an OpenShift Pipelines task
Issue
Error creating mount namespace before pivot: operation not permitted
when callingpodman build
orbuildah bud
starting container process caused: mounting \"/dev\" to rootfs at \"/dev\" caused: mount through procfd: permission denied
when callingpodman build
orbuildah bud
Environment
- Red Hat OpenShift Container Platform (RHOCP) 4.x
- Red Hat OpenShift Pipelines 1.3, 1.4, 1.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.