@Christian Hergert @Wulfy—Speaker to the machines I think the magic flag you look for is --userns=keep-id
Use this flag with podman run .. it will force same UID as host (1000)
Add the :Z flag to your volume mount as well. (SELinux)
Relabels the folder so the container can access it on Fedora.
I would add as well -v ./data:/data as it mounts your local ./data folder into the container's /data folder
so the command would be
podman run --rm --userns=keep-id -v ./data:/data:Z my-super-non-UID-headache-image
I have the book Podman for DevOps but the 1st edition does not cover it..
Yet after a brief search with the right keywords and here we go ; )
docs.podman.io/en/latest/markd…
edit: If you want you can integrate systemd as well but this way is simplest
Added SELinux as you are as me on fedora and from the book I know that