Thanks for answer Tom, see below ...
On Thu, Jan 27, 2022 at 3:39 PM Tom Sweeney <tom.sweeney(a)redhat.com> wrote:
Quick hits,
I'm assuming values for the user are the same in /etc/subuid and
/etc/subgid?
Yes.
Are you using the same versions of Podman on both machines?
So we have a combination of version 3.3.1 on RHEL 8.4 and RHEL 8.5
systems. The only system it doesn't work on is a RHEL 8.5 system with
podman 3.3.1. All others it is working.
Finaly, is the machine that's having issues also a RHEL 8.5?
Yes, but there are other 8.5 machines that have the same podman version
where it works.
So we must have screwed up something, but not sure what.
-Peter
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 /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/...
_______________________________________________
Podman mailing list -- podman(a)lists.podman.io
To unsubscribe send an email to podman-leave(a)lists.podman.io
_______________________________________________
Podman mailing list -- podman(a)lists.podman.io
To unsubscribe send an email to podman-leave(a)lists.podman.io