使用jupyter notebook基础镜像搭建自己的 pytorch开发环境


### 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页面)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

redelego@cloud

XXXXXXXXXXXXXXX

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值