mirror of https://github.com/ollama/ollama.git
				
				
				
			Add container hints for troubleshooting
Some users are new to containers and unsure where the server logs go
This commit is contained in:
		
							parent
							
								
									4072b5879b
								
							
						
					
					
						commit
						e7dbb00331
					
				| 
						 | 
					@ -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.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue