> $ podman build -f centos.dockerfile
> STEP 1/4: FROM docker.io/library/centos:centos7.9.2009
> STEP 2/4: SHELL ["/bin/bash", "-c"]
> --> Using cache
5b52fbd2b039f23a0f89117f418b270b73b6b62672de58adefdbe8ce291544b2
> --> 5b52fbd2b03
> STEP 3/4: RUN yum -y update
> container exited on segmentation fault
> Error: error building at STEP "RUN yum -y update": error while running
runtime:
> exit status 1
> Most likely the system is running out of memory. when building. Other
> options would be something like SELinux or SECCOMP or User namespace is
> being denied and yum is crashing.
Yes, it because of SELinux is enabled.