浏览代码

Add container hints for troubleshooting

Some users are new to containers and unsure where the server logs go
Daniel Hiltgen 1 年之前
父节点
当前提交
e7dbb00331
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      docs/troubleshooting.md

+ 7 - 0
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 <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.