Docker镜像HUB:https://hub.docker.com;
包含jupyter功能:docker pull tensorflow/tensorflow:1.12.0-devel-py3;
Docker镜像启动:docker run -it -p 8888:8888 tensorflow/tensorflow:1.12.0-devel-py3;
jupyter首次启动:/usr/local/bin/jupyter notebook --allow-root,允许以root权限操作;
登录jupyter系统:http://192.168.0.222:8888,输入toker和密码,点击登录会保存密码设置;
root@d1c392397ee5:/usr/local/bin# /usr/local/bin/jupyter notebook --allow-root
[I 11:32:16.208 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
[I 11:32:16.238 NotebookApp] Serving notebooks from local directory: /usr/local/bin
[I 11:32:16.238 NotebookApp] The Jupyter Notebook is running at:
[I 11:32:16.238 NotebookApp] http://(d1c392397ee5 or 127.0.0.1):8888/?token=aa6f55becec293842a07140b058dcdc6d019f879edd9931f
[I 11:32:16.238 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation)
(图片丢失)