Do you mean you’re opening a shell into a running shiny container?
Those processes will indeed be running as root, as that is the default user for running a docker image.
You can specify an image to run as a different user via the USER instruction in the dockerfile: https://docs.docker.com/engine/reference/builder/#user
I’ve updated and written there (the link is on my previous post) a full example for you guys to try. It’s not working right now the env variable of SHINYPROXY_USERNAME. I appreciate your help a lot!
I finished all of it before getting to know your project. Thanks a lot for sharing it! For sure it was a lot of work to make it all that easy. I wish I had known your project before finishing.
Don’t know if still useful, but I think your original problem is related to shiny-server’s behavior of removing environemnt variables - please see related answer: Reading SHINYPROXY_OIDC_ACCESS_TOKEN in app and links therein.
I’m sure it is, since Shiny and RStudio server are meant to handle multiple users. @DrumSergio, I just published the project last night, so you didn’t miss out. In working through the solution, your question was pertinent to the problems I had, so thanks for getting the conversation started.