I have created a Rserver docker image from a templated based on GitHub - rocker-org/rocker-versioned2. The image works perfectly in my local machine, the only difference is that I would like to use the 8888 port rather than 8787. Therefore, I modified the ENTRYPOINT to:
usr/lib/rstudio-server/bin/rserver --www-port=8888 --auth-none=1 --server-daemonize=0
You can see the full docker file here. The problem ist that when I use any port that is not the 8787, I cannot launch the session on the browser. I see
The page isn’t redirecting properly or
The connection was reset. However, I can see that Rserver is running:
$ ps -ef UID PID PPID C STIME TTY TIME CMD root 1 0 0 18:37 pts/0 00:00:00 bash /usr/run_simple.sh rstudio+ 19 1 0 18:37 pts/0 00:00:00 /usr/lib/rstudio-server/bin/rserver --www-port=8888 --auth-none=1 --server-daemonize=0 root 70 0 0 18:37 pts/1 00:00:00 bash root 87 70 0 18:46 pts/1 00:00:00 ps -ef
Therefore, I was wondering if anyone knows how to properly launch the Rserver so that I can open it with
Thanks for your feedback.