Why podman command fails with the error "Error: cannot set up namespace using "/usr/bin/newuidmap": exit status 1" in Red Hat Enterprise Linux ?
Issue
- Why podman command fails with the error "Error: cannot set up namespace using "/usr/bin/newuidmap": exit status 1" in Red Hat Enterprise Linux ?
[testadm@redhat.com ~]$ podman login registry.redhat.io
ERRO[0000] running `/usr/bin/newuidmap 34048 0 1503 1 1 165536 65536 65537 200000 65537`:
Error: cannot set up namespace using "/usr/bin/newuidmap": exit status 1
dmesg also has the following warning
warning: `/usr/bin/newuidmap' has both setuid-root and effective capabilities. Therefore not raising all capabilities.
Environment
- Red Hat Enterprise Linux 9
- podman
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.