Issue
I am trying to open the jupyter notebook in a container, but I just came cross this situation:
[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
As you can see the url is the container ID, I tried many solutions, like the ip setting. All don't help at all. Could someone give the hints? Thanks in advance!
Solution
Try using localhost step by step :
1 - Launch the following command :
docker run -p 8888:8888 jupyter/scipy-notebook
2 - Copy/paste the url URL into your browser : http://e6ef92c5e5d6:8888/?token=...
3 - Replace the hostname by localhost : http://localhost:8888/?token=...
It worked for me :
[I 03:22:51.414 NotebookApp] 302 GET /?token=... (172.17.0.1) 0.97ms
Answered By - callmemath
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.