Sign inSign up

gprao7/jupyter

By gprao7

Updated almost 2 years ago

Jupyter multi-kernel notebook with C, Java and JavaScript.

Image
Languages & frameworks
Data science
0

321

gprao7/jupyter repository overview

Jupyter Notebook Multi-Kernel Environment

This repository contains two Docker images that provide a Jupyter Notebook environment with different kernel setups.

1. gprao7/jupyter:multi

A multi-kernel environment with support for Java, C, and JavaScript.

2. gprao7/jupyter:r-notebook

A notebook environment that includes only the R kernel.

Features

gprao7/jupyter:multi
  • Java Kernel using Rapaio Jupyter Kernel
  • C Kernel using Brendan Rius's C kernel for Jupyter
  • JavaScript Kernel using IJavascript
  • Fully functional JupyterLab environment
gprao7/jupyter:r-notebook
  • R Kernel for running R code in Jupyter
  • Lightweight and focused on R development
  • Fully functional JupyterLab environment

Quick Start

Run the below command from the directory that you want to be mounted inside the container.

1. Multi Kernel Notebook [Python + Java, C, JavaScript]
  • Windows
   docker run -p 8888:8888 -v ${PWD}:/home/jovyan/notebooks gprao7/jupyter:multi
  • Linux/Unix
   docker run -p 8888:8888 -v $(pwd):/home/jovyan/notebooks gprao7/jupyter:multi
2. R Notebook
  • Windows
   docker run -p 8888:8888 -v ${PWD}:/home/jovyan/notebooks gprao7/jupyter:r-notebook
  • Linux/Unix
   docker run -p 8888:8888 -v $(pwd):/home/jovyan/notebooks gprao7/jupyter:r-notebook

How to Use

Download and Run

You can pull either of the images from Docker Hub using:

docker pull gprao7/jupyter:multi
docker pull gprao7/jupyter:r-notebook
Running the Container

When running the container, make sure to map:

  • Host port to the container port 8888 to access Jupyter.
  • A host directory to the container path /home/jovyan/notebooks for persistent storage of your notebooks.

Example commands:

For gprao7/jupyter:multi:
docker run -p <host_port>:8888 -v <host_directory>:/home/jovyan/notebooks gprao7/jupyter:multi
For gprao7/jupyter:r-notebook:
docker run -p <host_port>:8888 -v <host_directory>:/home/jovyan/notebooks gprao7/jupyter:r-notebook

Replace:

  • <host_port> with the port on your machine (e.g., 8888).
  • <host_directory> with the path to your desired folder on your local machine where you want to store your notebooks.

Once the container is running, you can access Jupyter Notebook at http://localhost:<host_port>.

Tag summary

Content type

Image

Digest

sha256:3b9b2b9f1

Size

436.9 MB

Last updated

almost 2 years ago

docker pull gprao7/jupyter:multi