Jupyter docker

It’s the easiest way to work with jypyter.


However, to generate password, it’s a bit tricky. You have to run a docker first. Then you get in there.

$ jupyter notebook password
Enter password: 
Verify password: 
[NotebookPasswordApp] Wrote hashed password to /home/jovyan/.jupyter/jupyter_notebook_config.json

Then you could copy password hash from ~/.jupyter/jupyter_notebook_config.json and start a new docker.

docker run --name my-minimal-notebook -p 8888:8888 -d jupyter/minimal-notebook start-notebook.sh --NotebookApp.password="sha1:<whatever you have>"