【发布时间】:2014-09-29 23:30:45
【问题描述】:
我正在使用装有 Windows Pro 8.1 的 Surface Pro 3。我正在尝试从 docker 访问 IPython 笔记本。我使用的命令是
ipython notebook --no-browser --port 8888 "--ip=*"
笔记本正在运行,但它没有在我的浏览器中打开,这是我运行它时得到的
[I 23:16:44.921 NotebookApp]B Using existing profile dir: u'/home/itam/.ipython/profile_default'
[I 23:16:44.990 NotebookApp]B Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js
[C 23:16:45.012 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended.
[C 23:16:45.012 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using authentication. This is highly insecure and not recommended.
[I 23:16:45.018 NotebookApp]B Serving notebooks from local directory: /home/itam/mate-computacional/itam-mate-computacional
[I 23:16:45.018 NotebookApp]B 0 active kernels
[I 23:16:45.018 NotebookApp]B The IPython Notebook is running at: http://[all ip addresses on your system]:8888/
[I 23:16:45.019 NotebookApp]B Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
我的虚拟机IP地址是192.168.59.103,但是https://192.168.59.103:8888/没有打开笔记本。
【问题讨论】:
-
我认为您需要明确告诉它从您的 VM 公开端口 8888 作为本地系统上的 8888。见docs.docker.com/installation/windows/…
标签: windows-8.1 ipython docker ipython-notebook boot2docker