cat > Dockerfile << 'EOF'
FROM fedora
RUN dnf -y install httpd; dnf clean all; systemctl enable httpd
EXPOSE 80
CMD [ "/sbin/init" ]
'EOF'
podman build -t systemd .
podman run -ti -p 8080:80 systemd
Yields
Error: OCI runtime error: error executing hook `/usr/libexec/oci/hooks.d/oci-systemd-hook` (exit code: 1)
Versions:
oci-systemd-hook-0.2.0-2.git05e6923.fc31.x86_64
podman-3.2.3-2.fc34.x86_64