Skip to content

Commit

Permalink
Add container hints for troubleshooting
Browse files Browse the repository at this point in the history
Some users are new to containers and unsure where the server logs go
  • Loading branch information
dhiltgen committed Jan 29, 2024
1 parent 4072b58 commit e7dbb00
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <container-name>
```
(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.
Expand Down

0 comments on commit e7dbb00

Please sign in to comment.