Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix commands in Presets' Readme #415

Merged
merged 2 commits into from
Sep 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions preset/README.md
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ AI Tools Selector Preset Containers provides data scientists and developers with
2. Pull a Preset Container of your choice from the [AI Tools Selector](https://www.intel.com/content/www/us/en/developer/tools/oneapi/ai-tools-selector.html) or from the [table](#preset-containers). The commands below use the `deep-learning` preset as an example.

```bash
docker pull intel/deep-learning:latest-py3.9
docker pull intel/deep-learning:latest-py<version>
```

## Run Preset Container
@@ -40,9 +40,9 @@ This mode allows running the container in an interactive shell. This enables the

```bash
docker run -it --rm \
--shm-size=12G \
-p 8888:8888 --shm-size=12G \
-v ${PWD}:/home/dev/workdir \
intel/deep-learning:latest-py3.9 bash
intel/deep-learning:latest-py<version> bash
```

> [!NOTE]
@@ -64,10 +64,10 @@ docker run -it --rm \
${RENDER_GROUP} \
${VIDEO_GROUP} \
--device=/dev/dri \
--shm-size=12G \
-p 8888:8888 --shm-size=12G \
-v ${PWD}:/home/dev/workdir \
-v /dev/dri/by-path:/dev/dri/by-path \
intel/deep-learning:latest-py3.9 bash
intel/deep-learning:latest-py<version> bash
```

> [!NOTE]
@@ -100,9 +100,9 @@ This mode launches a jupyterlab notebook server. The command below will start th

```bash
docker run -it --rm \
--shm-size=12G \
-p 8888:8888 --shm-size=12G \
-v ${PWD}:/home/dev/workdir \
intel/deep-learning:latest-py3.9
intel/deep-learning:latest-py<version>
```

> [!NOTE]
@@ -124,10 +124,10 @@ docker run -it --rm \
${RENDER_GROUP} \
${VIDEO_GROUP} \
--device=/dev/dri \
--shm-size=12G \
-p 8888:8888 --shm-size=12G \
-v ${PWD}:/home/dev/workdir \
-v /dev/dri/by-path:/dev/dri/by-path \
intel/deep-learning:latest-py3.9
intel/deep-learning:latest-py<version>
```

> [!NOTE]
@@ -146,7 +146,7 @@ docker run -it --rm \
Modify your notebook server command by using the default example below to change the network (port/ip) and security (privilege) settings by appending it to the docker run commands above:

```bash
docker run ... intel/deep-learning:latest-py3.9 \
docker run ... intel/deep-learning:latest-py<version> \
bash -c "jupyter notebook --notebook-dir=~/jupyter \
--port 8888 \
--ip 0.0.0.0 \