forked from open-webui/open-webui
Merge pull request #388 from ollama-webui/run-script
feat: run-ollama-docker.sh added
This commit is contained in:
commit
76139fc8df
1 changed files with 7 additions and 0 deletions
7
run-ollama-docker.sh
Normal file
7
run-ollama-docker.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
docker rm -f ollama || true
|
||||
docker pull ollama/ollama
|
||||
# CPU Only
|
||||
docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
|
||||
# GPU Support
|
||||
# docker run -d --gpus=all -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
|
||||
docker image prune -f
|
Loading…
Reference in a new issue