From e7dbb003312d9baa2357bb7223a65cd2be577cc5 Mon Sep 17 00:00:00 2001 From: Daniel Hiltgen Date: Mon, 29 Jan 2024 08:52:41 -0800 Subject: [PATCH] Add container hints for troubleshooting Some users are new to containers and unsure where the server logs go --- docs/troubleshooting.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index c1a8eec9..1367194e 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -12,6 +12,13 @@ On Linux systems with systemd, the logs can be found with this command: journalctl -u ollama ``` +When you run Ollama in a container, the logs go to stdout/stderr in the container: + +```shell +docker logs +``` +(Use `docker ps` to find the container name) + If manually running `ollama serve` in a terminal, the logs will be on that terminal. Join the [Discord](https://discord.gg/ollama) for help interpreting the logs.