dockerを最近始めた初心者です。
dockerにpythonとanacondaがインストールされたubuntuのイメージを作って、そのイメージからコンテナを作りました。そのコンテナで
root@コンテナ名:/# jupyter notebook --port 8000 --ip=0.0.0.0 --allow-root
と入力すると、
[I 03:11:43.424 NotebookApp] JupyterLab extension loaded from /root/.pyenv/versions/anaconda3-2019.03/lib/python3.7/site-packages/jupyterlab [I 03:11:43.424 NotebookApp] JupyterLab application directory is /root/.pyenv/versions/anaconda3-2019.03/share/jupyter/lab [I 03:11:43.427 NotebookApp] Serving notebooks from local directory: / [I 03:11:43.427 NotebookApp] The Jupyter Notebook is running at: [I 03:11:43.427 NotebookApp] http://(1a33fd730685 or 127.0.0.1):8000/?token=5cd12991172bb1fe66bd209d2b731223969b0af56129de2b [I 03:11:43.427 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [W 03:11:43.431 NotebookApp] No web browser found: could not locate runnable browser. [C 03:11:43.431 NotebookApp] To access the notebook, open this file in a browser: file:///root/.local/share/jupyter/runtime/nbserver-503-open.html Or copy and paste one of these URLs: http://(1a33fd730685 or 127.0.0.1):8000/?token=5cd12991172bb1fe66bd209d2b731223969b0af56129de2b
という文章が出てくるので、safariやgoogle chromeで
http://127.0.0.1:8000/?token=5cd12991172bb1fe66bd209d2b731223969b0af56129de2b
または
http://1a33fd730685:8000/?token=5cd12991172bb1fe66bd209d2b731223969b0af56129de2b
と入力しますが、「サーバーに接続できません」となり、jupyter notebookが開きません。
どうすれば良いかご教授願いたいです。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/05/08 10:00
2019/05/08 10:07
2019/05/08 12:06