在服务器执行。
# 优先考虑是否安装jupyter
pip install jupyter
# 当进行端口转发时
jupyter-notebook --ip 0.0.0.0 --port your_ip --NotebookApp.token='' --NotebookApp.password='' --notebook-dir=你想要的绝对路径
# 当未进行端口转发时
jupyter-notebook --ip docker_ip --port your_ip --NotebookApp.token='' --NotebookApp.password='' --notebook-dir=你想要的绝对路径
点击启动后输出的倒数第二个地址,可以直接在Mac打开。
250

被折叠的 条评论
为什么被折叠?



