Here is an open question for Podman users: is there a (ideally simple) way to keep the user/group ID between the real system and the container?
Let me be more verbose.
I use Docker mostly in two "special" cases:
- As Yocto build environment: I can use whatever the people I work with/Yocto version wants.
- For creating developer environments: I create Docker containers that have the same environments as the CI docker instances I use with GitLab + development tools I run sharing the X socket. In that way the people I work with can reuse the same environment and have the exact same set of tools, without the inconveniences of virtual machines.
Now in both setups I mount some system directory into the chroot, normally as $HOME. Using Docker I can do the right UID/GID mapping and any file I create inside the container will have my system's UID/GID. And that's the thing I so far could not do with Podman.
So dear Podman user: is there any way to do this with Podman? If you know, please feel free to send a comment/email!