在 Ubuntu 14.04 上通过 docker 安装 tensorflow

Installing tensorflow through docker on Ubuntu 14.04

我尝试在 Ubuntu 14.04 到 docker 上安装 tensorflow。它已成功添加到 docker 图像中。但是当我 运行 docker 图像时,出现以下错误。

[I 16:12:44.450 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
/usr/local/lib/python2.7/dist-packages/widgetsnbextension/__init__.py:30: UserWarning: To use the jupyter-js-widgets nbextension, you'll need to update
the Jupyter notebook to version 4.2 or later.
the Jupyter notebook to version 4.2 or later.""")
[W 16:12:44.479 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended.
[W 16:12:44.479 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using authentication. This is highly insecure and not recommended.
[I 16:12:44.486 NotebookApp] Serving notebooks from local directory: /notebooks
[I 16:12:44.486 NotebookApp] 0 active kernels 
[I 16:12:44.486 NotebookApp] The Jupyter Notebook is running at: http://[all ip addresses on your system]:8888/
[I 16:12:44.486 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

如何解决这个问题?

执行docker图像时应该是

docker run -it gcr.io/tensorflow/tensorflow /bin/bash

然后进入交互控制台