How are these two commands different? Both of them launch a shell as pid 1 and make the same mounts and volumes,
buildah run --tty --mount type=tmpfs,destination=/run -v /sys/fs/cgroup:/sys/fs/cgroup:ro \
$(buildah from centos:7) /bin/sh -c 'exec /sbin/init'
podman run -ti --mount type=tmpfs,destination=/run -v /sys/fs/cgroup:/sys/fs/cgroup:ro \
centos:7 /bin/sh -c 'exec /sbin/init'
Only the podman one works though. What am I misunderstanding here?