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
b5c10ff1
Unverified
Commit
b5c10ff1
authored
Jan 29, 2024
by
Timothy Jaeryang Baek
Committed by
GitHub
Jan 29, 2024
Browse files
Merge pull request #598 from ollama-webui/run-ollama-sh-fix
fix: run-ollama-docker.sh
parents
ee675e79
685d3741
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
run-ollama-docker.sh
run-ollama-docker.sh
+4
-4
No files found.
run-ollama-docker.sh
View file @
b5c10ff1
...
...
@@ -10,10 +10,10 @@ docker pull ollama/ollama:latest
docker_args
=
"-d -v ollama:/root/.ollama -p
$host_port
:
$container_port
--name ollama ollama/ollama"
if
[
"
$use_gpu
"
=
=
"y"
]
;
then
docker_args
+
=
"
--gpus=all"
if
[
"
$use_gpu
"
=
"y"
]
;
then
docker_args
=
"--gpus=all
$docker_args
"
fi
docker run
"
$docker_args
"
docker run
$docker_args
docker image prune
-f
docker image prune
-f
\ No newline at end of file
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