希望我什么都不会错过。
我已使用以下指南在Win 7上安装了docker:
https : //docs.docker.com/engine/installation/
我打开了一个新终端并输入以下命令:
docker run -it b.gcr.io/tensorflow/tensorflow
全部下载并提取,然后得到以下按摩:
[I 16:09:55.069 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
[W 16:09:55.122 NotebookApp] WARNING: The notebook server is listening on all IP
addresses and not using encryption. This is not recommended.
[W 16:09:55.122 NotebookApp] WARNING: The notebook server is listening on all IP
addresses and not using authentication. This is highly insecure and not recommended.
[I 16:09:55.134 NotebookApp] Serving notebooks from local directory: /notebooks
[I 16:09:55.134 NotebookApp] 0 active kernels
[I 16:09:55.134 NotebookApp] The Jupyter Notebook is running at: http://[all ip addresses on your system]:8888/
[I 16:09:55.134 NotebookApp] Use Control-C to stop this server and shut down all
kernels (twice to skip confirmation).
然后它就这样卡住了,没有命令行,我什么也不能输入……我想念什么?
好的,所以我找到了一个答案,
有两种方法可以解决它:
1)相反,使用源代码安装tensorflow,这似乎可以解决问题。这可以通过编写以下内容来完成:docker run -it b.gcr.io/tensorflow/tensorflow:latest-devel
2)或者,如果使用常规安装,请在安装之前通过以下方法检查默认VM IP:
docker-machine ip default
然后,在安装后进入brwoser进入http://(default_ip):8888 /
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句