Giter Site home page Giter Site logo

apaolillo / justudior Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 8 KB

Files to generate/run the Docker image/container containing the R interpreter, Jupyter Notebook and the RStudio IDE.

License: MIT License

Dockerfile 84.40% Shell 8.34% Vim Script 7.26%

justudior's Introduction

justudior

This repository holds the file to generate the Docker image (and run the Docker container) containing the following tools:

  • the R interpreter;
  • Jupyter Notebook and associated tools (JupyterLabs, Voilà, etc.);
  • the RStudio IDE (server version), running inside the container.

We also include the necessary packages and utilities to glue R and Jupyter together.

Notice the name of the repo (and the tag of the Docker image) is justudior, a contraction of "Jupyter", "Studio" and "R", recalling the tools contained in the image.

Prerequisites

The only prerequisites is to install Docker on a Linux machine.

One can use instructions provided on Docker website: https://docs.docker.com/engine/install/

Building the image and running the container

Simply run the script located at the root of the repository:

./buildrun.sh

The image takes some time to build.

After the image is built, the script automatically runs the container that starts RStudio and a tmux session with Jupyter Notebook, allowing you to interact with a shell while Jupyter is running.

Connecting to RStudio server

Once the container is started, RStudio starts listening on port 8787 (and the port is exposed to the host).

On a browser on your host, you can connect to http://127.0.0.1:8787/ to access the RStudio server. Use the Linux user/password credentials pre-configured in the Dockerfile (modify it according to your needs) to connect through the WebUI.

Connecting to Jupyter Notebook

As the container starts, the tmux session loads Jupyter Notebook and provides a URL with a token. You can use the URL with the localhost IP address (127.0.0.1) to connect to the WebUI of Jupyter Notebook, as the port 8888 is exposed to the host.

justudior's People

Contributors

apaolillo avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.