补充内容.

Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
rick.chan 2021-05-18 11:46:56 +08:00
parent 5a551e0956
commit 23fc18900d
1 changed files with 18 additions and 2 deletions

View File

@ -1,8 +1,24 @@
# Docker+TensorFlow+Jupyter 环境搭建
## 1.安装和配置
```bash
# Tensorflow1
docker run -t -p 1008:8888 --name=tensorflow jupyter/tensorflow-notebook:17aba6048f44
docker run -t -p 1008:8888 -e JUPYTER_ENABLE_LAB=yes --name=tensorflow --privileged -v <host dir>:/home/jovyan jupyter/tensorflow-notebook:17aba6048f44
# Tensorflow2(ubuntu-18.04)
docker run -t -p 1008:8888 --name=tensorflow jupyter/tensorflow-notebook:ubuntu-18.04
docker run -t -p 1008:8888 -e JUPYTER_ENABLE_LAB=yes --name=tensorflow --privileged -v <host dir>:/home/jovyan jupyter/tensorflow-notebook:ubuntu-18.04
```
## 2.使能插件
settings->Advanced Settings Editor->Extension Manager
在 User Overrides 中进行修改
```json
{
"enabled": true
}
```
然后 Save User Settings刷新网页。