I'm trying to run rstudio-server in a docker container.
I added user rstudio
and work
in a container,
and when I run the container as root (default option of docker run),
log in as rstudio and work both works.
However, when I run the container as one of the users I created,
it's impossible for me to log in.
for example, if I run the container with --user work
- try to log in as rstudio: it says wrong username or password.
- try to log in as work: same log in page with empty username and password box reloads again.
Since I cannot ruin all the conventions and architecture of the whole application using this docker container I'm trying to run,
I HAVE TO run this container as user work.
Is there any way to run rstudio server normally, even if I run the container as non-root user?
Thank you.