Inspired by article “How to set up and run Python Data Science Development Environment with Jupyter on Docker” [Archived]
Data Scientists coders must work with a variety of Data Science development tools, including the Anaconda (or Miniconda) Python distribution platform, the Python programming language, the R programming language, Matplotlib library, Pandas Library, the Jupyter application, and many others.
The article describes how to use pre-made Docker images to run Jupyter Labs. the Jupyter Docker Stacks simplifies how to create a ready-to-use Jupyter application with Data Science libraries in a few commands.
The article contains the commands to install and run the necessary software and contains an embedded ~9min video demonstration.
Table of Contents
- Introduction
- Introduction to Jupyter Docker Stacks
- Running the Jupyter Docker Scipy-Notebook Image
- How to use other Python Libraries
- What if I use Eikon Data API
- Demo prerequisite
- How to run the Examples
- Conclusion
- References
- GitHub
Here is a screen capture of the web browser that I started with command:
docker run -p 8888:8888 --name notebook -v "${PWD}":/home/jovyan/work -e JUPYTER_ENABLE_LAB=yes -it jupyter/scipy-notebook
There are more options with the jupyter/datascience-notebook:
docker run -p 8888:8888 --name notebook -v "${PWD}":/home/jovyan/work -e JUPYTER_ENABLE_LAB=yes -it jupyter/datascience-notebook
Quoting from the article:
Jupyter Docker Stacks provide various images for developers based on their requirements such as:
- jupyter/scipy-notebook: Jupyter Notebook/JupyterLab with conda/mamba , ipywidgets, and popular packages from the scientific Python ecosystem (Pandas, Matplotlib, Seaborn, Requests, etc.)
- jupyter/r-notebook: Jupyter Notebook/JupyterLab with R interpreter, IRKernel, and devtools.
- jupyter/datascience-notebook: Everything in jupyter/scipy-notebook and jupyter/r-notebook images with Julia support.
- jupyter/tensorflow-notebook: Everything in jupyter/scipy-notebook image with TensorFlow.
Please see more detail about all image types on Selecting an Image page.