mirror of
https://github.com/ollama/ollama.git
synced 2025-06-29 17:10:52 +02:00
add docker exec
command to readme
This commit is contained in:
@ -31,6 +31,7 @@ curl https://ollama.ai/install.sh | sh
|
||||
|
||||
```
|
||||
docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
|
||||
docker exec -it ollama ollama run llama2
|
||||
```
|
||||
|
||||
For GPU support, use `--gpus=all`. See the Docker [image](https://hub.docker.com/r/ollama/ollama) for more information.
|
||||
|
Reference in New Issue
Block a user