Skip to content

Docker image for running Jupyter Notebooks for Scala

License

Notifications You must be signed in to change notification settings

picnicml/jupyter-scala

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker image for running Jupyter Notebooks for Scala

Features:

  • Completely dockerized environment
  • Extends Jupyter docker image jupyter/minimal-notebook:1145fb1198b2
  • Adds Oracle JDK version 8
  • Adds Almond kernels for Scala versions 2.11 and 2.12

For details regarding Jupyter docker image, visit jupyter/minimal-notebook docker repo. For details regarding Almond, visit the Github project page of Almond.

Pull docker image

To pull the latest version of the image:

docker pull anskarl/jupyter-scala:latest

If you like to pull a specific version, e.g., version 2.0.0:

docker pull anskarl/jupyter-scala:2.0.0

Start docker image

To start this docker image you can simply execute a docker run command that points to the anskarl/jupyter-scala:${IMAGE_VERSION}, where ${IMAGE_VERSION} is the version of this project (e.g., 2.0.0).

For simplicity you can run the following utility script:

./jupyter-scala.sh

This utility script creates an instance of anskarl/jupyter-scala:${IMAGE_VERSION} and binds the current working path inside the running container into /home/${NB_USER}/work, where ${NB_USER} is the unprivileged user of jupyter (default is joyvan, see details). Furthermore, since Almond uses Coursier for artifact fetching, this script uses a docker volume to store all downloaded dependencies (named as jupyter_scala_cache). The volume is automatically created if does not exists.

Build image locally

In order to build docker image locally, you can execute the following:

make image

After a successful build the resulting image is tagged as anskarl/jupyter-scala:${IMAGE_VERSION} and anskarl/jupyter-scala:latest, where ${IMAGE_VERSION} is the version of this project (e.g., 2.0.0)

About

Docker image for running Jupyter Notebooks for Scala

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 71.0%
  • Shell 15.6%
  • Makefile 13.4%