0

I need to run some R scripts inside the Docker container. I searched for the available images , but those are only helpful for Linux. But , I need to run those on Windows container, as scripts are dependent on UI which requires .Net support. I tried

.\R-3.3.2-win.exe /q /ACTION=Install /IACCEPTROPENLICENSETERMS /INSTANCENAME= MSSQLSERVER /FEATURES=SQL_Shared_MR /IACCEPTSQLSERVERLICENSETERMS 

using powershell. But nothing is working out. Please suggest me , if there are any available images of R for Windows or how to install the exe file inside docker container.

Hong Ooi
  • 56,353
  • 13
  • 134
  • 187
  • [This](https://www.r-bloggers.com/rocker-is-now-the-official-r-image-for-docker/) might be helpful. – Chirayu Chamoli Nov 22 '16 at 11:54
  • @ChirayuChamoli `docker pull rocker/r-base` gives me **Using default tag: latest** **_Pulling from rocker/r-base_** **image operating system "linux" cannot be used on this platform** – Bhanu prakash Nov 22 '16 at 12:24
  • I get this error ` TLS handshake timeout` while installing i dont think it would be OS dependent. – Chirayu Chamoli Nov 22 '16 at 12:32
  • @ChirayuChamoli, I am unable to pull docker image of **rocker/r-base** . because I am using **Windows-native Docker Engine directly (that is, not using “Docker for Windows”)** [link](https://blog.docker.com/2016/09/build-your-first-docker-windows-server-container/). – Bhanu prakash Nov 22 '16 at 12:46
  • Why are you giving that command in power shell. Arent you supposed to do everything inside the container? – Chirayu Chamoli Nov 22 '16 at 14:09
  • @ChirayuChamoli the thing is that, I donot see any R studio image for Windows platform. So, I am trying to make one for myself using the exe file. So, I am trying to build one for myself. While building, I will not be able to go through setup process which is UI based like clicking `next` etc. So, only powershell or command prompt is available for me to install setup process. – Bhanu prakash Nov 23 '16 at 04:28
  • if you read [this](https://docs.docker.com/docker-for-windows/) you can switch between linux and windows within the container. Anyways if you want to build a image for windows i think ppl here can hekl you out. – Chirayu Chamoli Nov 23 '16 at 04:52

0 Answers0