From e3d77aa490cc3ab4e01690c846dc053e16ecfb37 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sun, 22 Oct 2023 13:16:09 -0700 Subject: [PATCH 1/2] doc: run ollama via docker --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 452ce0f7..c1883138 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,12 @@ If you want to access the Ollama web interface over LAN, for example, from your OLLAMA_HOST=0.0.0.0 OLLAMA_ORIGINS=* ollama serve ``` +If your running Ollama via Docker: + +```bash +docker run -d -v ollama:/root/.ollama -p 11434:11434 -e OLLAMA_ORIGINS="*" --name ollama ollama/ollama +``` + ### Using Docker 🐳 If Ollama is hosted on your local machine, run the following command: From 4a32b000006eb313c4f7ef29ef61f030b32912b6 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sun, 22 Oct 2023 13:17:05 -0700 Subject: [PATCH 2/2] doc: fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c1883138..819e33a3 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ If you want to access the Ollama web interface over LAN, for example, from your OLLAMA_HOST=0.0.0.0 OLLAMA_ORIGINS=* ollama serve ``` -If your running Ollama via Docker: +If you're running Ollama via Docker: ```bash docker run -d -v ollama:/root/.ollama -p 11434:11434 -e OLLAMA_ORIGINS="*" --name ollama ollama/ollama