美文网首页
note - docker环境下配置 jupyter noteb

note - docker环境下配置 jupyter noteb

作者: 汉江岳 | 来源:发表于2019-12-27 21:26 被阅读0次

把 docker container 配置成 jupyter notebook 服务器用作python开发,有至少两点好处:

  1. 多个用户可以在浏览器使用
  2. 可视化画图方便,假设 jupyter notebook运行在服务器上
NV_GPU=0 nvidia-docker run -it --name notebook-server -p 7777:8888 -v /home/eswai:/eswai eswai/tf140py2:1.0  /bin/bash

jupyter notebook --generate-config
jupyter notebook password  # 设置密码

jupyter notebook --allow-root --ip=0.0.0.0 --port=7777 --no-browser &

关键点: jupyter notebook --help # 所有的命令都可以从着 --help里面查

参考:https://blog.csdn.net/eswai/article/details/79437428

相关文章

网友评论

      本文标题:note - docker环境下配置 jupyter noteb

      本文链接:https://www.haomeiwen.com/subject/ivvdoctx.html