On 8/9/22 22:31, GHui Wu via Podman wrote:
I have added the '-y'. It also 'segmentation fault'.
$ 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 _______________________________________________ Podman mailing list -- podman@lists.podman.io To unsubscribe send an email to podman-leave@lists.podman.io
Please open an issue or discussion on github.com/containers/podman. Doing this via EMAIL is very difficult. 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.