mirror of
https://github.com/open-webui/open-webui
synced 2024-11-22 08:07:55 +00:00
feat: run-ollama-docker.sh added
This commit is contained in:
parent
1c6b59ee46
commit
0bb8ec4635
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