mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-11 08:17:03 +00: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 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.
|
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