From 23fc18900d299c7ca1886a216bbc4da5dfb26f7c Mon Sep 17 00:00:00 2001 From: "rick.chan" Date: Tue, 18 May 2021 11:46:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E5=86=85=E5=AE=B9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: rick.chan --- .../Docker_TensorFlow_Jupyter_环境搭建.md | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/Software/Applications/Tensorflow/Docker_TensorFlow_Jupyter_环境搭建.md b/Software/Applications/Tensorflow/Docker_TensorFlow_Jupyter_环境搭建.md index 7dcf4e2..a0017f0 100644 --- a/Software/Applications/Tensorflow/Docker_TensorFlow_Jupyter_环境搭建.md +++ b/Software/Applications/Tensorflow/Docker_TensorFlow_Jupyter_环境搭建.md @@ -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 :/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 :/home/jovyan jupyter/tensorflow-notebook:ubuntu-18.04 ``` + +## 2.使能插件 + +settings->Advanced Settings Editor->Extension Manager + +在 User Overrides 中进行修改 + +```json +{ + "enabled": true +} +``` + +然后 Save User Settings,刷新网页。