cannot use -e USERID or -e GROUPID with 4.2.2
Hi, @davetang
Amazing work. I've used your tutorial to make a dockerized Rstudio with 4.1.2 for a while now.
When trying to create a new version with R 4.2.2, but if i use a userid and groupid argument in the run script i get this error:

it works perfectly fine with my 4.1.2 build.
Any Ideas??
Thanks!!
Hi @dtm2117,
I got several messages recently about issues with RStudio Server and I just wrote a blog post about it.
I think you can now exclude the following parameters with the latest Rocker Docker image:
-e USERID=$(id -u) \
-e GROUPID=$(id -g) \
Let me know if that fixes your problem.
Cheers, Dave
so unfortunately our server runs on 14.04 so Docker version 18.06.3-ce, build d7080c1
I can run the rocker rstudio image and get to the rstudio-server but cannot save any files:

this is the script i use to start the server
docker run \
-p 8788:8787 \
-d \
--rm \
--name rstudio_server_4_2 \
-v /data1/users/dmelnekoff/rstudio_docker_4_2_2/r_packages/:/packages \
-v /data1/:/data1/ \
-v /data2/:/data2/ \
-e PASSWORD=password \
melnecure/rstudio:4.2.2_fixed ```
and i used the docker file onthe github to build my container
You'll need to update your Ubuntu version to update Docker to use R-4.2.2. I believe that you can use up to version R-4.2.0 with your current environment and setup.