Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (container-tools:rhel8 bug fix update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2023:3089
This bug has been verified on podman-4.4.1-10.module+el8.8.0+18555+491facf3. [test@kvm-02-guest08 ~]$ podman unshare cat /proc/self/uid_map 0 1000 1 1 100000 65536 1. w/o keep-id [test@kvm-02-guest08 ~]$ podman --cgroup-manager=cgroupfs run -it --rm --net=slirp4netns:cidr=192.168.0.0/24 --add-host=localhost.containers.internal:192.168.0.2 --entrypoint /bin/cat registry.access.redhat.com/ubi8:latest /etc/resolv.conf search lab.eng.rdu2.redhat.com nameserver 192.168.0.3 nameserver 10.11.5.160 nameserver 10.2.70.215 2. w/ keep-id [test@kvm-02-guest08 ~]$ podman --cgroup-manager=cgroupfs run -it --rm --net=slirp4netns:allow_host_loopback=true,cidr=192.168.0.0/24 --add-host=localhost.containers.internal:192.168.0.2 --userns keep-id --entrypoint /bin/cat registry.access.redhat.com/ubi8:latest /etc/resolv.conf search lab.eng.rdu2.redhat.com nameserver 192.168.0.3 nameserver 10.11.5.160 nameserver 10.2.70.215