Quick hits, I'm assuming values for the user are the same in /etc/subuid and /etc/subgid? Are you using the same versions of Podman on both machines? Finaly, is the machine that's having issues also a RHEL 8.5? t On 1/27/22 12:17, Peter Portante wrote:
Hi Folks,
We are struggling to understand why we can run rootless containers on RHEL 8.5.
Why can't I do the following (as described at [1]) as a non-root user:
[pportant@intlab-006 ~]$ podman run --rm --name=myubi -it registry.access.redhat.com/ubi8/ubi <http://registry.access.redhat.com/ubi8/ubi> /bin/bash [pportant@intlab-006 ~]$ echo $? 0
Shouldn't that start an interactive shell in the container?
When I run as root I see:
[root@intlab-006 ~]# podman run --rm --name=myubi -it registry.access.redhat.com/ubi8/ubi <http://registry.access.redhat.com/ubi8/ubi> /bin/bash [root@intlab-006 ~]# echo $? 127
While on another RHEL 8.5 host it works just fine:
[pportant@intlabproxy-002 ~]$ podman run --rm --name=myubi -it registry.access.redhat.com/ubi8/ubi <http://registry.access.redhat.com/ubi8/ubi> /bin/bash [root@a9ef24a2578b /]#
Any help would be appreciated.
Thanks, -Peter
[1] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/htm...
_______________________________________________ Podman mailing list --podman@lists.podman.io To unsubscribe send an email topodman-leave@lists.podman.io