Add container hints for troubleshooting

Some users are new to containers and unsure where the server logs go
This commit is contained in:
Daniel Hiltgen 2024-01-29 08:52:41 -08:00
parent 4072b5879b
commit e7dbb00331

View file

@ -12,6 +12,13 @@ On Linux systems with systemd, the logs can be found with this command:
journalctl -u ollama 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. 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. Join the [Discord](https://discord.gg/ollama) for help interpreting the logs.