Skip to content
Open
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
32 changes: 30 additions & 2 deletions docs/docker-model-runner.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,28 @@ This page describes how to run OpenChat Playground (OCP) with [Docker Model Runn

## Run on local machine

1. Make sure the Docker Model Runner is up and running with the following command.
1. Make sure the Docker Model Runner is up and running, and ready to accept requests with the following command.

```bash
docker model status
```

It should say `Docker Model Runner is running`.

```bash
# bash/zsh
curl http://localhost:12434
```

```powershell
# Powershell
Invoke-WebRequest http://localhost:12434
```

It should say `The Service is running`

> If it says `Connection refused`, turn on "Enable host-side TCP support" option in [Docker Desktop Settings](https://docs.docker.com/ai/model-runner/get-started/#docker-desktop).

1. Download the model. The default model OCP uses is [ai/smollm2](https://hub.docker.com/r/ai/smollm2).

```bash
Expand Down Expand Up @@ -62,14 +76,28 @@ This page describes how to run OpenChat Playground (OCP) with [Docker Model Runn

## Run in local container

1. Make sure the Docker Model Runner is up and running with the following command.
1. Make sure the Docker Model Runner is up and running, and ready to accept requests with the following command.

```bash
docker model status
```

It should say `Docker Model Runner is running`.

```bash
# bash/zsh
curl http://localhost:12434
```

```powershell
# Powershell
Invoke-WebRequest http://localhost:12434
```

It should say `The Service is running`

> If it says `Connection refused`, turn on "Enable host-side TCP support" option in [Docker Desktop Settings](https://docs.docker.com/ai/model-runner/get-started/#docker-desktop).

1. Download the model. The default model OCP uses is [ai/smollm2](https://hub.docker.com/r/ai/smollm2).

```bash
Expand Down
Loading