diff --git a/docs/docker-model-runner.md b/docs/docker-model-runner.md index b3434dfd..07692c08 100644 --- a/docs/docker-model-runner.md +++ b/docs/docker-model-runner.md @@ -18,7 +18,7 @@ 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 @@ -26,6 +26,20 @@ This page describes how to run OpenChat Playground (OCP) with [Docker Model Runn 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 @@ -62,7 +76,7 @@ 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 @@ -70,6 +84,20 @@ This page describes how to run OpenChat Playground (OCP) with [Docker Model Runn 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