### Code Reference
-
URL:https://blog.csdn.net/jianchengss/article/details/78224778
-
DESC:使用jupyter notebook基础镜像搭建自己的 pytorch开发环境
-
DESC:jupyter存放我的文档|代码片段存储.
-
Last Update:2020-7-7 10:33
-
Time:2020-7-31 18:41 Tittle:使用jupyter notebook基础镜像搭建自己的 pytorch开发环境
-
Version:002
-
步骤1 确定需要部署的镜像
docker pull jupyter/datascience-notebook
-
步骤2 规划镜像数据存储路径
docker inspect jupyter/datascience-notebook mkdir -p /home/dockerImages/rede_dataOfContainer/jupyter chmod -R 777 /home/dockerImages/rede_dataOfContainer/jupyter
-
步骤3 实例化镜像参数修改
docker run -it -d \ --privileged \ --name=c_JupyterNotebook \ -p 8888:8888 \ -v /home/dockerImages/rede_dataOfContainer/jupyter:/home/jovyan/work \ jupyter/datascience-notebook start-notebook.sh
-
步骤4 检查启动状态&进入容器内部
-
步骤4.1 查看启动日志
docker logs -f c_JupyterNotebook
-
步骤4.2 登录容器内部
docker exec -it c_JupyterNotebook /bin/bash
-
-
步骤5 初始化应用&测试应用(根据日志提示来访问web页面)
-