Hi all,
This will clearly show my fundamental lack of understanding of how things work, but… here goes…
So: I have created a public GitHub repo: GitHub - StatisticsHealthEconomics/stat0019_binder: This repo is used to create a fully functional Rstudio environment for computation where I’ve copied a Dockerfile - the reason for this is because I need to use an existing docker image, which has various pieces of software already installed (with a view of making life easier for my students in their remote practicals…).
I did follow the instructions in the mybinder docs to set up the Dockerfile and I think I’ve done it OK (at least the process goes on until the end…).
Anyway: when I launch the image via docker — something like
docker run -ti --rm -p 8787:8787 -e PASSWORD=pass giabaio/stat0019:17022021
all works fine and the relevant packages are all loaded.
If I try and share the image via mybinder, the process works, in the sense that I get a “success” message. However, it then fails to launch Rstudio and in fact I end up with a 404 : Not Found
page…
I can browse the “non-Rstudio” part of the binder, which seems to show the files are there. I can open a new Terminal and run some Linux commands to check things (which, as far as I understand, don’t point to anything weird — but I don’t know much, as you’ll have guessed, at this stage…). But even from the top-right cascade menu, there’s no way for me to launch Rstudio.
I’m sure I’m missing something absolutely obvious — possibly the GitHub repo has something wrong? Or maybe I have messed up some other bit of the installation? Anybody can help?
Many thanks and please bear with the amateur…