I use podman desktop on my mac but do most things from the command line.  Consider this simple container file below.  If I run from the mac command line "podman run -it test" it successfully launches it on the podman machine (a virtual fedora instance).   From within container space if I do "id" I see userid 2000 as expected.  If I ssh into the podman machine, and look at the uid of the running container it is also 2000 on the host fedora virtual machine as well.    This is different than how it behaves if I run the same "podman run -it test" on a native RHEL9 machine.  I can also log into it and see it is uid 2000 from within container but when I look a the native RHEL9 process running the container it has a uid of 526287.  Why is the behavior different?  Is the remote podman client on the mac launching things differently?

Thanks, Ed

# Use Red Hat UBI 9 as base image

FROM registry.access.redhat.com/ubi9/ubi


# Install procps and clean up metadata to reduce image size

RUN dnf install -y procps && \

    dnf clean all && \

    rm -rf /var/cache/dnf


# Add user1 with UID 2000

RUN useradd -u 2000 user1


# Switch to user1 (optional if you want the container to run as this user)

USER 2000


# Default command (can be changed as needed)

CMD ["/bin/bash"]