Building your Jupyter image for Docker

Docker knows about images that contain the entire software stack necessary to run an application. We need to build an image with a Notebook and place this in Docker.

We need to download all of the Jupyter-Docker coding necessary. In the Docker Terminal window, we run the following command:

$ docker pull jupyter/all-spark-notebook 
Using default tag: latest 
latest: Pulling from jupyter/all-spark-notebook 
8b87079b7a06: Pulling fs layer  
872e508604af: Pulling fs layer  
8e8d83eda71c: Pull complete  
... 

This is a large download that will take some time. It is downloading and installing all of the possibly necessary components needed to run Jupyter in an image. Remember that each image is completely self-contained ...

Get Learning Jupyter 5 - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.