GithubHelp home page GithubHelp logo

isabella232 / jupyter-spark-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from src-d/jupyter-spark-docker

0.0 0.0 0.0 20 KB

Dockerfile with jupyter and scala installed

License: Apache License 2.0

Makefile 27.58% Dockerfile 72.42%

jupyter-spark-docker's Introduction

Jupyter Spark Docker

Dockerfile with spark and jupyter instalation. It's the base for the engine image.

It contains:

  • Jupyter 5.7.0
  • Spark 2.3.2
  • Toree 0.2.0-incubating-rc4

Build

docker build -t srcd/jupyter-spark .

Run

docker run -it -p 8888:8888 srcd/jupyter-spark

Jupyter listens in port 8888. You'll have to use the token provided in the log file to access the service.

In case you want to change the configuration to listen in another port or skip token check you can create a configuration file. For example:

RUN mkdir -p /root/.jupyter && \
    echo "c.NotebookApp.token = ''" > ~/.jupyter/jupyter_notebook_config.py && \
    echo "c.NotebookApp.open_browser = False" >> ~/.jupyter/jupyter_notebook_config.py && \
    echo "c.NotebookApp.notebook_dir = '/home'" >> ~/.jupyter/jupyter_notebook_config.py && \
    echo "c.NotebookApp.port = 8080" >> ~/.jupyter/jupyter_notebook_config.py

You can modify Spark options at runtime by setting the SPARK_OPTS environment variable. For example:

docker run -it -p 8888:8888 -e 'SPARK_OPTS=--driver-memory=8g' srcd/jupyter-spark

Contribute

Contributions are more than welcome, if you are interested please take a look to our Contributing Guidelines.

Code of Conduct

All activities under source{d} projects are governed by the source{d} code of conduct.

License

Apache License Version 2.0, see LICENSE.

jupyter-spark-docker's People

Contributors

ajnavarro avatar jfontan avatar smacker avatar smola avatar zurk 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.