We have been running RStudio server in docker for quite some time and the start-up was pretty simple. As of version 1.3.x something changed and we had to modify how this starts up. Let me be as detailed as possible and show what we had in 1.2.x first:
Docker - RStudio server 1.2.x
/usr/lib/rstudio-server/bin/rserver --www-port=8888 --auth-none=1 --server-app-armor-enabled=0
Docker - Rstudio server 1.3.x
mkdir -p /tmp/rstudio-server RSTUDIO_SERVER_DATA_DIR=/tmp/rstudio-server /usr/lib/rstudio-server/bin/rserver --www-port=8888 --auth-none=1 --server-daemonize=0 --server-data-dir="$RSTUDIO_SERVER_DATA_DIR" --server-pid-file="$RSTUDIO_SERVER_DATA_DIR/rstudio-server.pid"
As we kept up with new version of server it stopped working once we got past 1.3.959. As long as we stayed at that specific version or older it works but newer we just get a message stating "R is taking longer than usual to start" and it never does.
What changed after >1.3.959 that is causing this behavior.