On Thu, Jan 27, 2022 at 12:17:52PM -0500, Peter Portante wrote:
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 /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 /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 /bin/bash [root@a9ef24a2578b /]#
Any help would be appreciated.
What differences do you see between the two situations when you pass a --log-level=info, or --log-level=debug, to podman? Nalin