forked from open-webui/open-webui
feat: run-ollama-docker.sh added
This commit is contained in:
parent
1c6b59ee46
commit
0bb8ec4635
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