Giter VIP home page Giter VIP logo

dockerized-jupyter's Introduction

Jupyter for Big Data Analytics

This is a lightweight Jupyter Docker Image for Big Data Analytics.

It includes support for:

  • Apache Spark 2.4.
  • Python3.6.
    • numpy.
    • scipy.
    • pandas.
    • pandasql
    • scikit-learn.
    • matplotlib and plotly for visualization.
  • R 3.5.
    • tidyverse.
    • devtools.
    • ggridges ,plotly, leaflet for visualization.
  • Jupyterlab next-generation notebook environment.
  • BeakerX extensions

Quick Start

docker run -p 8888:8888 -d gradiant/jupyter

Browse http://localhost:8888

Configuration

Configuration is set by the following environment variables:

Variables Default Description
JUPYTERLAB false enables the next-generation user interface for Project Jupyter.
JUPYTER_PORT 8888 binding port of jupyter http server
NOTEBOOKS_URL (empty) url to download notebooks to add to /notebooks dir. It can be a .zip .tar.gz .ipynb or a git repo

Examples

Enabling JuypterLab:

docker run -p 8888:8888 -e JUPYTERLAB=true -d gradiant/jupyter

Prepopulate notebooks dir with git repo contents:

docker run -p 8888:8888 -e NOTEBOOKS_URL=https://github.com/Gradiant/notebooks.git -d gradiant/jupyter

Notebook Persistence

Notebooks are stored in /notebooks image path. If you want to persist the notebooks you can use docker volumes or bind mounts.

With docker volumes:

docker run -p 8888:8888 -v notebooks:/notebooks -d gradiant/jupyter

With bind mounts:

docker run -p 8888:8888  -v "$(pwd)"/notebooks:/notebooks -d gradiant/jupyter

Spark Support

The image includes Spark 2.4.0 support for scala, python and R.

scala

BeakerX Scala and Java Kernels provides support for Spark.

python

pyspark can be used in regular python3 notebooks if you provide the following initial cell:

import findspark
findspark.init()

You can set the an external spark cluster when creating the SparkContext in your notebook:

import pyspark
pyspark.SparkContext("spark://spark-master.example.com:7077")

dockerized-jupyter's People

Contributors

cgiraldo avatar

Watchers

 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.