jupyterhub / jupyter-rsession-proxy

Jupyter extensions for running an RStudio rsession proxy
BSD 3-Clause "New" or "Revised" License
118 stars 87 forks source link

Dockerfile missing something? #40

Closed CerebralMastication closed 5 years ago

CerebralMastication commented 5 years ago

I'm really interested in setting up nbrsessionproxy on my JupyterHub/JupyterLab install. I had some troubles getting things going so I dropped back and tried the associated Docker file that is in the repo.

I built the Docker image using: docker build . which seemed to build without error. So I then fired it up with docker run -p 8888:8888 jupyter/r-notebook

And then I connected to the localhost using the token provided in the terminal message and I was able to connect to the localhost at port 8888, as expected. However I don't see any way to launch R Studio server:

image

I'm a bit unsure of what I should be doing differently or if I'm just overlooking something obvious.

Many thanks.

trevorpetersen commented 5 years ago

It looks to me that you are not running the correct image. Your run command is referencing the image from here, which is the base of the image that you just built, but not the image that you just built. Try tagging your image and then running it:

docker build -t my-image . docker run -p 8888:8888 my-image

CerebralMastication commented 5 years ago

good grief you are exactly right. So sorry I could not see what was right in front of my face.