当我尝试运行 docker 容器时,如下所示:
docker run tensorflow/tensorflow:1.11.0-py3
它总是启动 jupyter notebook 并显示如下消息:
[I 06:39:47.738 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
[I 06:39:47.754 NotebookApp] Serving notebooks from local directory: /notebooks
[I 06:39:47.754 NotebookApp] The Jupyter Notebook is running at:
[I 06:39:47.754 NotebookApp] http://(9174ca4d537a or 127.0.0.1):8888/?token=5a7031a41c376d89a08583ada6a7c4a8669b667967a5a90e
[I 06:39:47.754 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 06:39:47.754 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://(9174ca4d537a or 127.0.0.1):8888/?token=5a7031a41c376d89a08583ada6a7c4a8669b667967a5a90e
但我不想自动启动 jupyter noteook。我试图删除 jupyter 但没有运气。如何停止运行 jupyter 或如何完全删除 jupyter notebook?谢谢。
https://hub.docker.com/layers/tensorflow/tensorflow/1.11.0-py3/images/sha256-7f147470ab6f94f52a1a1ef6211ce6ae645ed863f493b6cad16d428fbaed898b
您需要修改图像或尝试另一个不使用 jupyter notebooks 的 tensorflow/tensorflow 标签。您可以在此处找到 tensorflow 标签的所有选项:
https://hub.docker.com/r/tensorflow/tensorflow/tags
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句