Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
93c73d35
Unverified
Commit
93c73d35
authored
Jan 09, 2024
by
Tanvir
Browse files
chore(docker): update ollama docker image tag to latest
parent
0c0c5955
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
run-ollama-docker.sh
run-ollama-docker.sh
+1
-1
No files found.
run-ollama-docker.sh
View file @
93c73d35
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
read
-r
-p
"Do you want ollama in docker with GPU support? (y/n): "
use_gpu
read
-r
-p
"Do you want ollama in docker with GPU support? (y/n): "
use_gpu
docker
rm
-f
ollama
||
true
docker
rm
-f
ollama
||
true
docker pull ollama/ollama
docker pull ollama/ollama
:latest
if
[
"
$use_gpu
"
==
"y"
]
;
then
if
[
"
$use_gpu
"
==
"y"
]
;
then
docker run
-d
--gpus
=
all
-v
ollama:/root/.ollama
-p
11434:11434
--name
ollama ollama/ollama
docker run
-d
--gpus
=
all
-v
ollama:/root/.ollama
-p
11434:11434
--name
ollama ollama/ollama
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment