Running Jupyter Notebooks on Docker
If you don’t already have Docker installed, take a look at the installation guide for your platform.
Once you have Docker installed, head over to the docker-stacks to get a few opinionated ready-to-run Jupyter applications in Docker.
For the most part, it’s as easy as opening the README file in one of the directories in that repository and following its instructions.
For example, you can run the Data Science Notebook using the following command:
docker run -d -p 8888:8888 jupyter/datascience-notebook
It’ll take a few minutes to get this particular stack downloaded and running but after the initial setup, you should be able to run it in a few seconds using the command above.