Skip to content

Files

Latest commit

c4f86eb · Nov 7, 2019

History

History

jupyter-notebook

Jupyter Notebook

Jupyter notebook with Python, Scala, R, Spark, Mesos Stack, Hadoop Yarn

  • This Jupyter notebook made by based on https://github.com/jupyter/docker-stacks
  • Now 'jovyan' linux accounts can use sudo / sudo -i with no passwd
  • Python, Scala, R, Spark, Mesos Stack, Hadoop Yarn
  • User passwords are automatically created with sha1 at container creation time using Linux environment variables when using 'USER_PASSWD'
  • Hadoop environment variables are automatically created when using 'hadoop.env'

How to use

docker run

docker run -p 8888:8888 -e USER_PW=iamgroot modenaf360/jupyter-notebook:latest
   

docker-compose

There are many Linux environment variables to use as a Hadoop environment file in docker-compose. env_file:

cd ./example
docker-compose up

with hadoop example

docker run --env-file ../../hadoop-3.2/hadoop.env --name jupyter -e USER_PASSWD=iamgroot -p8000:8888 --link master:master -d -v /volume4/hdfs/jupyternotebook:/home/jovyan/work modenaf360/jupyter-notebook:latest