mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-05-15 11:57:12 +02:00
updated readme
This commit is contained in:
parent
6f7f349619
commit
417423005a
14
README.md
14
README.md
@ -91,12 +91,20 @@ For simplest way to get started, I prefer to use the Ollama docker setup.
|
|||||||
Start the Ollama docker container:
|
Start the Ollama docker container:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run -v ~/ollama:/root/.ollama -p 11434:11434 ollama/ollama
|
docker run -it \
|
||||||
|
-v ~/ollama:/root/.ollama \
|
||||||
|
-p 11434:11434 \
|
||||||
|
ollama/ollama
|
||||||
```
|
```
|
||||||
|
|
||||||
With GPUs
|
With GPUs
|
||||||
```
|
|
||||||
docker run -d --gpus=all -v ~/ollama:/root/.ollama -p 11434:11434 ollama/ollama
|
```shell
|
||||||
|
docker run -it \
|
||||||
|
--gpus=all \
|
||||||
|
-v ~/ollama:/root/.ollama \
|
||||||
|
-p 11434:11434
|
||||||
|
ollama/ollama
|
||||||
```
|
```
|
||||||
|
|
||||||
Instantiate `OllamaAPI`
|
Instantiate `OllamaAPI`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user