mirror of
https://github.com/open-webui/open-webui
synced 2024-11-23 00:27:40 +00:00
Merge pull request #388 from ollama-webui/run-script
feat: run-ollama-docker.sh added
This commit is contained in:
commit
76139fc8df
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 New Issue
Block a user