Closed MarkEdmondson1234 closed 5 years ago
@MarkEdmondson1234 Can you take a look at https://github.com/rocker-org/ml/tree/master/gpu instead? RStudio should already work there out of the box, as documented in the README. That image should be available pre-built from Docker hub as rocker/gpu
, and I'm just testing the tensorflow side of it now so your feedback would be timely! thanks
Ah, its already built! Ok was waiting for a build but will try that one directly
Hi, I've tried to add RStudio to the base R + TF + keras but have failed :) May I ask to take a look at my attempt? There is something about the $R_HOME folder that I don't understand - the pertinent bit is:
I added the
&& mkdir -p /usr/local/lib/etc/R/ \
as it was not finding the folder with the error:/bin/sh: 1: cannot create /usr/local/lib/R/etc/Rprofile.site: Directory nonexistent
And I changed
/usr/local/lib/R/etc/
to/usr/local/lib/etc/R/
as it seemed a typo, but trying to change it back now.so it at least finishes building, but when I start the container I can't connect to RStudio, the logs say:
rsession: no process found
.. which I guess is related.
Dockerfile below with comments