Skip to content

Commit 5fe6383

Browse files
authored
Update docker-model-runner.md (#521)
* Update docker-model-runner.md - 가이드 문서에 호스트측 요청 수신 활성화하는 방법 추가 * Update docker-model-runner.md * Update docker-model-runner.md - 표현 다듬기 * Update docker-model-runner.md - fix typo
1 parent 8e515c6 commit 5fe6383

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

docs/docker-model-runner.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,28 @@ This page describes how to run OpenChat Playground (OCP) with [Docker Model Runn
1818

1919
## Run on local machine
2020

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

2323
```bash
2424
docker model status
2525
```
2626

2727
It should say `Docker Model Runner is running`.
2828

29+
```bash
30+
# bash/zsh
31+
curl http://localhost:12434
32+
```
33+
34+
```powershell
35+
# Powershell
36+
Invoke-WebRequest http://localhost:12434
37+
```
38+
39+
It should say `The Service is running`
40+
41+
> 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).
42+
2943
1. Download the model. The default model OCP uses is [ai/smollm2](https://hub.docker.com/r/ai/smollm2).
3044

3145
```bash
@@ -62,14 +76,28 @@ This page describes how to run OpenChat Playground (OCP) with [Docker Model Runn
6276
6377
## Run in local container
6478
65-
1. Make sure the Docker Model Runner is up and running with the following command.
79+
1. Make sure the Docker Model Runner is up and running, and ready to accept requests with the following command.
6680
6781
```bash
6882
docker model status
6983
```
7084
7185
It should say `Docker Model Runner is running`.
7286
87+
```bash
88+
# bash/zsh
89+
curl http://localhost:12434
90+
```
91+
92+
```powershell
93+
# Powershell
94+
Invoke-WebRequest http://localhost:12434
95+
```
96+
97+
It should say `The Service is running`
98+
99+
> 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).
100+
73101
1. Download the model. The default model OCP uses is [ai/smollm2](https://hub.docker.com/r/ai/smollm2).
74102
75103
```bash

0 commit comments

Comments
 (0)