https://hub.docker.com/r/tensorflow/tensorflow/

https://tensorflow.google.cn/tutorials/?hl=zh-cn

https://github.com/tensorflow/tensorflow

https://keras.io/zh/


docker run -itd  -p 8880:8888   --name tensorflow  --restart=always   -v  /data/file:/data/file  -v /etc/localtime:/etc/localtime:ro   tensorflow/tensorflow:latest-jupyter


应用: elk -> 添加服务: tensorflow

镜像: tensorflow/tensorflow:latest-jupyter

卷:

/etc/localtime:/etc/localtime:ro

/data/file:/data/file


保存ip: 升级或替换 不变

主机名: 使用容器名称

端口:8880 -> 8888 


docker exec -it tensorflow /bin/bash


===================

容器命令:   

jupyter notebook list  # 获取token


登陆:

http://localhost:8888/?token=


安装:

/usr/bin/python3 -m pip install --upgrade pip

pip install ipyparallel

ipcluster nbextension enable

jupyter nbextension install --sys-prefix --py ipyparallel

jupyter nbextension enable --sys-prefix --py ipyparallel

jupyter serverextension enable --sys-prefix --py ipyparallel

ipcluster start


签名:这个人很懒,什么也没有留下!
最新回复 (0)
返回