我已经拉出tensorflow/tensorflow:latest-gpu
图像并启动了它的容器,它包含一些演示'getting-started.ipynb'文件。我的问题是我可以从容器的终端创建新的笔记本文件,但是我必须在Jupyter笔记本中编辑该文件。
我已经开始使用bash随图像一起提供的run_jupyter.sh
文件。这是它的输出:
root@d5e18162a8e6:/# bash run_jupyter.sh
[C 04:55:32.898 NotebookApp] Running as root is not recommended. Use --allow-root to bypass.
root@d5e18162a8e6:/# bash run_jupyter.sh --allow-root
[I 04:56:48.619 NotebookApp] Serving notebooks from local directory: /
[I 04:56:48.619 NotebookApp] The Jupyter Notebook is running at:
[I 04:56:48.619 NotebookApp] http://(d5e18162a8e6 or 127.0.0.1):8888/?token=f711c4919b82025e3d857545e75454db16d2a75cd796eb8d
[I 04:56:48.619 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 04:56:48.633 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://(d5e18162a8e6 or 127.0.0.1):8888/?token=f711c4919b82025e3d857545e75454db16d2a75cd796eb8d
并且如终端中所述,我已经完成登录并设置了新密码。
http://127.0.0.1:8888/token=f711c4919b82025e3d857545e75454db16d2a75cd796eb8d
但是在那之后,我无法在Jupyter目录部分中看到容器的笔记本文件。