For dev purposes I have created some subsystems with a custom home directory, namely dev-yocto at /home/myuser/yocto-home based on debian:stable and dev-gtk at /home/myuser/gtk-home based on vanilla-dev.
The main idea is to have individual .vscode-server folders cause otherwise VScode can't attach to the containers reliably.
The problem is regardless of which app I attach to a given subsystem, I run as root in that subsystem, leaving behind all sorts of files owned by root in my /home.
This is especially annoying when you work on source code and your .git/HEAD is suddenly owned by root.
I'm assuming this is just normal Podman, or even Docker, behavior but is there any way to have those apps running as my user instead when they attach? (Yes, su myuser in the vscode terminal works, but the app itself still runs as root)
Edit: Yes, I use the Remote Container Development stuff