$ cat Containerfile
FROM quay.io/centos/centos:stream9
RUN dnf install -y bind-utils
podman build -t test:latest .
STEP 1/2: FROM quay.io/centos/centos:stream9
STEP 2/2: RUN dnf install -y bind-utils
error running container: from /usr/bin/crun creating container for [/bin/sh -c dnf install -y bind-utils]: sd-bus call: Interactive authentication required.: Permission denied
: exit status 1
ERRO[0000] did not get container create message from subprocess: EOF
Error: building at STEP "RUN dnf install -y bind-utils": while running runtime: exit status 1
XDG_RUNTIME_DIR
and DBUS_SESSION_BUS_ADDRESS
are both set correctly.
Have anybody seen this? I find very old github issues about something similar but no