Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Open Jupyter Notebooks Using Docker

Steps

Navigate to the folder containing the .pynb Jupyter notebook files. Then run the following command:

docker run \
  -p 8888:8888 \
  -v $(pwd):/home/jovyan/work \
  jupyter/minimal-notebook

When you run that, you will be given a URL with a token to use to view the notebook. Navigate to that URL in your browser and you should be able to view the notebook.

References

Last updated: 24th August 2021
First published: 24th August 2021