Skip to content

Error: OCI runtime error: error executing hook /usr/libexec/oci/hooks.d/oci-systemd-hook (exit code: 1) #112

@kortemik

Description

@kortemik
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions