Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
muhac authored Jan 9, 2025
1 parent e51bd89 commit 3cd3e2e
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,17 @@ Full list are available on [muhac/jupyter-pytorch | DockerHub](https://hub.docke
The image automatically runs a JupyterLab server on port `80`. Working directory in the container: `/root/projects`.

```bash
PROJECT_DIR=./
SERVER_PORT=80
docker run --detach \
--name jupyter --restart unless-stopped \
--ipc=host --runtime=nvidia --gpus all \
-p $SERVER_PORT:80 \
SERVER_PORT=${SERVER_PORT:-80}
PROJECT_DIR=${PROJECT_DIR:-$(pwd)}
TIME_ZONE=${TIME_ZONE:-America/Toronto}

docker run --detach \
--name jupyter \
--restart unless-stopped \
--ipc=host \
--gpus all \
--env TZ=$TIME_ZONE \
-p $SERVER_PORT:80 \
-v $PROJECT_DIR:/root/projects \
muhac/jupyter-pytorch:latest
```
Expand Down

0 comments on commit 3cd3e2e

Please sign in to comment.