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 /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.

Thanks, -Peter

[1] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/building_running_and_managing_containers/assembly_working-with-containers_building-running-and-managing-containers