Description of problem:
We already have an upstream commit added for this issue.
https://github.com/containers/podman/pull/6965
Version-Release number of selected component (if applicable):
podman-2.0.5-5.module+el8.3.0+8221+97165c3f.x86_64
# podman run -dt -p 8080:8080/tcp --network slirp4netns:allow_host_loopback=true docker.io/httpd
Error: error running container create option: cannot use CNI networks with rootless containers
Do you need a backport of this urgently? As things stand, a Podman release supporting this will be released with RHEL 8.3.1 in the near future, and I would recommend waiting for this if at all possible.
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 (Moderate: container-tools:rhel8 security, bug fix, and enhancement 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/RHSA-2021:0531