Skip to content

dockerq/docker-ray-notebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ray Jupyter Notebook

Ray Jupyter Notebook是一款基于notebook的Ray开发环境,它的目的是利用Jupyter Notebook和Docker技术的优势,帮助开发者快速搭建Ray环境,把精力集中在Ray的学习和体验上。

依赖软件

  • docker
  • make
  • chrome/firefox or some browser else

指南

运行下面四个步骤就可以快速搭建起ray容器环境了,步骤1,2可以运行make dev简化

  1. 为容器数据卷创建目录:
mkdir data
  1. 运行ray-notebook容器
docker run -d --name ray --net host \
		-v `pwd`/data:/home/jovyan/work \
		dockerq/ray-notebook
  1. 查看jupyter notebook token
docker logs ray
# sample output
Executing the command: jupyter notebook
[I 12:42:36.823 NotebookApp] Serving notebooks from local directory: /home/jovyan
[I 12:42:36.823 NotebookApp] The Jupyter Notebook is running at:
[I 12:42:36.823 NotebookApp] http://green-poll-2.localdomain:8888/?token=2e4ec6d4a34b83aac9d73e3c7144367f1927929e13e42007
[I 12:42:36.823 NotebookApp]  or http://127.0.0.1:8888/?token=2e4ec6d4a34b83aac9d73e3c7144367f1927929e13e42007
  1. 复制token=后面的字符串,打开浏览器访问localhost:8888,输入token开始探索ray吧~

Reference

About

ray with jupyter notebook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published