Ver Fonte

Merge pull request #2256 from dhiltgen/container_logs

Add container hints for troubleshooting
Daniel Hiltgen há 1 ano atrás
pai
commit
78a48de804
1 ficheiros alterados com 7 adições e 0 exclusões
  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.