详细的链接见 https://jupyter-docker-stacks.readthedocs.io/en/latest/using/running.html
运行的命令行见
$ docker run -p 8888:8888 -v /path/to/local_host:/home/jovyan jupyter/scipy-notebook:2c80cf3537ca
Executing the command: jupyter notebook
[I 14:35:14.589 NotebookApp] Writing notebook server cookie secret to /home/jovyan/.local/share/jupyter/runtime/notebook_cookie_secret
[W 14:35:14.946 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended.
[I 14:35:14.975 NotebookApp] JupyterLab alpha preview extension loaded from /opt/conda/lib/python3.6/site-packages/jupyterlab
[I 14:35:14.975 NotebookApp] JupyterLab application directory is /opt/conda/share/jupyter/lab
[I 14:35:14.982 NotebookApp] Serving notebooks from local directory: /home/jovyan
[I 14:35:14.982 NotebookApp] 0 active kernels
[I 14:35:14.982 NotebookApp] The Jupyter Notebook is running at:
[I 14:35:14.982 NotebookApp] http://[all ip addresses on your system]:8888/?token=decd5ab319d384cf13ea9931fe73bc86288db2f00682961e
[I 14:35:14.982 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 14:35:14.988 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8888/?token=decd5ab319d384cf13ea9931fe73bc86288db2f00682961e
该情况下运行产生的文件便可以在本地虚机的 /path/to/local_host 路径下查看到