From 1ce0356860fb049c0c1de386301ea4c676f8b0d6 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 4 Dec 2023 03:31:36 -0500 Subject: [PATCH] Update TROUBLESHOOTING.md --- TROUBLESHOOTING.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md index 38c32711a..fa6cd83dd 100644 --- a/TROUBLESHOOTING.md +++ b/TROUBLESHOOTING.md @@ -26,17 +26,20 @@ It is crucial to include the `/api` at the end of the URL to ensure that the Oll By following these troubleshooting steps, you should be able to identify and resolve connection issues with your Ollama server configuration. If you require further assistance or have additional questions, please don't hesitate to reach out or refer to our documentation for comprehensive guidance. -## Running ollama-webui as a cintainer on Apple Silicon Mac +## Running ollama-webui as a container on Apple Silicon Mac + +If you are running Docker on a M{1..3} based Mac and have taken the steps to run an x86 container, add "--platform linux/amd64" to the docker run command to prevent a warning. -If you are running Docker on a M{1..3} based Mac and have taken the steps to run an x86 container, add "--platform linux/amd64" to the docker run command. Example: + ```bash docker run -d -p 3000:8080 --name ollama-webui --restart always ghcr.io/ollama-webui/ollama-webui:main ``` + Becomes + ``` docker run -it --platform linux/amd64 -d -p 3000:8080 -e OLLAMA_API_BASE_URL=http://example.com:11434/api --name ollama-webui --restart always ghcr.io/ollama-webui/ollama-webui:main - ``` ## References