add docker exec command to readme

This commit is contained in:
Jeffrey Morgan 2023-10-15 02:31:15 -04:00
parent f9b2f999ac
commit 7d7c2510f8

View file

@ -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.