nuest / rocker-win Goto Github PK
View Code? Open in Web Editor NEWProof-of-concept for R in Windows containers
Home Page: https://doi.org/10.5281/zenodo.3584107
License: MIT License
Proof-of-concept for R in Windows containers
Home Page: https://doi.org/10.5281/zenodo.3584107
License: MIT License
I wanted to learn more about Windows Containers and tried to create a Container with R. It worked! It's nowhere near the Rocker Images, but I hope the name rocker-win
is fine with @cboettig and @eddelbuettel.
What works?
microsoft/windowsservercore
docker run -it nuest/rocker-win
@StefanScherer your work at https://github.com/StefanScherer/dockerfiles-windows was a great help! Thanks!
If you have access to a recent Windows machine, I'd love to hear your feedback! But please don't ask me about a relevant use case for this just yet :-).
Travis supports windows now:
There are some issues with version compatibility, maybe
helps.
this might simplify the Dockerfile:
https://github.com/krlmlr/r-appveyor/blob/master/scripts/appveyor-tool.ps1#L44-L112
thanks @jeroen for the pointer!
This might be the most realistic use case: an organisation is running Windows containers on a Server (and you cannot run Linux containers in Windows at the same time) and they want to run an R-based app accessible over HTTP.
Is it possible to run RStudio? Probably only via sharing the X11-socket... does that work on Windows?
Is there an RStudio Server variant for Windows? ๐ค
See installation steps at https://github.com/krlmlr/r-appveyor/blob/master/scripts/appveyor-tool.ps1#L120
Together with #6, the installation process could potentially stripped down to downloading the script from GH and running Bootstrap with the desired environment variables for configuration. But this greatly reduces self-containedness of the Dockerfile.
It's incredibly easy to install sf under Windows, if you come from Linux, because all binaries are packaged within! No system dependencies must be installed. Add a minimal Dockerfile to demonstrate that.
See branch nano
There are some issues with the required system libraries, it seems, because the Installation of R just quietly does nothing.
Nanoserverapiscan also does not help me so far, because I do not have a system32/Forwarders
directory on my machine. Maybe I need to be on a Windows server... probably the R installer needs to be updated to work on nanoserver... or I must try to build R from source.
docker run -v "$(pwd):C:\scan" stefanscherer/nanoserverapiscan
Error: the file "C:\scan\GitKrakenSetup.exe" is not a valid 64 bit PE file.
Error: the file "C:\scan\R-3.4.3-win.exe" is not a valid 64 bit PE file.
Error: no reverse forwarders dll is found in "C:\scan". Please verify if reverse forwarders are properly deployed with this tool.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.