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

This blog is created by Stuart Page

I'm a freelance web developer and technology consultant based in Surrey, UK, with over 10 years experience in web development, DevOps, Linux Administration, and IT solutions.

Need support with your infrastructure or web services?

Get in touch