Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

Commit 567b245

Browse files
author
ChingHua
committed
update container network_mode
1 parent 71bbe3d commit 567b245

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ the docker compose will start a jupyter lab service without token
7575

7676
Browse to <http://localhost:8888/lab> to continue.
7777

78+
for the convenient the container using network_mode: host (for ray dashboard / jupyter)
79+
7880
## Syllabus
7981

8082
### Overview

docker-compose.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ services:
44
build: .
55
volumes:
66
- .:/ray_tutorial
7-
ports:
8-
- 8888:8888
9-
command: jupyter lab --ip=0.0.0.0 --allow-root --NotebookApp.token=''
7+
command: jupyter lab --ip=0.0.0.0 --allow-root --NotebookApp.token=''
8+
network_mode: "host"

0 commit comments

Comments
 (0)