Skip to content

korpx-z/Jupyter-Notebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Jupyter Notebook Image

Jupyter notebook, the language-agnostic evolution of IPython notebook

Jupyter notebook is a language-agnostic HTML notebook application for Project Jupyter. In 2015, Jupyter notebook was released as a part of The Big Split™ of the IPython codebase. IPython 3 was the last major monolithic release containing both language-agnostic code, such as the IPython notebook, and language specific code, such as the IPython kernel for Python. As computing spans across many languages, Project Jupyter will continue to develop the language-agnostic Jupyter notebook in this repo and with the help of the community develop language specific kernels which are found in their own discrete repos. [The Big Split™ announcement] [Jupyter Ascending blog post]

Building the image

docker build . --tag jupyter_notebook_s390x

Usage

By default the the notebook server will run on port 8888 so these ports must be exposed when issuing the docker run:

docker run --rm -it -p 8888:8888 jupyter_notebook_s390x

The server should now be accessible at the IP of your system on port 8888, but will require an authorization token to log in. By checking the logs you can find the access token to use.

Example Log

to access the notebook, open this file in a browser:
        file:///root/.local/share/jupyter/runtime/nbserver-14-open.html
    Or copy and paste one of these URLs:
        http://172.17.0.4:8888/?token=4af405f0407002fe3d636e8727cd0939bef99ca4a2176dad
     or http://127.0.0.1:8888/?token=4af405f0407002fe3d636e8727cd0939bef99ca4a2176dad

In this case you would access your notebook server by this URL and replacing your system IP:

http://YOUR_SYSTEM_IP:8888/?token=4af405f0407002fe3d636e8727cd0939bef99ca4a2176dad

Using your own notebooks

If you wish to use pre-existing notebooks with the notebook server you should mount them in a volume to /home/notebooks

docker run --rm -it -p 8888:8888 -v myvolume:/home/notebooks jupyter_notebook_s390x

Specifying a non-default notebook dir

If you would like to use a different path aside from /home/notebooks you may do so by specifying the NBDIR environment variable.

docker run --rm -it -p 8888:8888 -e NBDIR=/home/ANOTHERDIR jupyter_notebook_s390x

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published