$ podman build -t test . STEP 1: FROM centos:7 Getting image source signatures Copying blob d8d02d457314 done Copying config 67fa590cfc done Writing manifest to image destination Storing signatures STEP 2: RUN yum -y install wget iproute 2019-09-27T08:31:13.000300054Z: create '/sys/fs/cgroup/buildah-buildah523713081': Permission denied error running container: error creating container for [/bin/sh -c yum -y install wget iproute]: : exit status 1 Error: error building at STEP "RUN yum -y install wget iproute": error while running runtime: exit status 1 The start of Dockerfile is: FROM centos:7 RUN yum -y install wget iproute
I think this is caused by bug 1732114 https://fedoraproject.org/wiki/Changes/CGroupsV2#Upgrade.2Fcompatibility_impact mentions a boot option to stick with CGroupsV1 for now, which is a workaround for this bug.
Reporter, can you test with current packages and see if this is still a problem? There was quite a lot of work around podman/runc/cgroups in the last couple weeks which may have resolved this. Thanks.
It works now.