加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

无法在Windows中的Docker内启动TensorFlow

发布时间:2020-12-13 20:10:17 所属栏目:Windows 来源:网络整理
导读:希望我没有错过任何东西. 我使用本指南在我的胜利7上安装了停靠点: https://docs.docker.com/engine/installation/ 我打开一个新终端,并输入以下命令: docker run -it b.gcr.io/tensorflow/tensorflow 所有的东西都拿出来,然后我得到以下按摩: [I 16:09:5
希望我没有错过任何东西.
我使用本指南在我的胜利7上安装了停靠点:
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)用源代码安装张量流,这似乎解决了这个问题.
这是通过写作完成的:
docker运行-it b.gcr.io/tensorflow/tensorflow:latest-devel
2)或者,如果您使用常规安装,请先安装检查
默认的VM IP为:
docker-machine ip default

然后,安装后进入http://(default_ip):8888/

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读