【发布时间】:2018-11-27 21:45:43
【问题描述】:
我正在尝试在容器中打开 jupyter notebook,但我遇到了这种情况:
[I 10:01:25.051 NotebookApp] The Jupyter Notebook is running at:
[I 10:01:25.051 NotebookApp] http://8c1eb91f0492:8888/?token=7671a7abe557349c8d8ad1cbf207702451925efd2c27c84e
[I 10:01:25.051 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 10:01:25.051 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://8c1eb91f0492:8888/?token=7671a7abe557349c8d8ad1cbf207702451925efd2c27c84e&token=7671a7abe557349c8d8ad1cbf207702451925efd2c27c84e
你可以看到 url 是容器 ID,我尝试了很多解决方案,比如 ip 设置。一切都无济于事。有人可以给出提示吗?提前致谢!
【问题讨论】:
-
确保端口已公开,并将 URL 中的主机名替换为
localhost。
标签: python docker jupyter-notebook jupyter pytorch