Skip to content

Commit

Permalink
ollama run container detached and path default ollama config directory
Browse files Browse the repository at this point in the history
Signed-off-by: greg pereira <[email protected]>
  • Loading branch information
Gregory-Pereira committed Apr 8, 2024
1 parent eab5ed1 commit 47b2339
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion model_servers/ollama/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ ollama pull mistral

Run the model server and create a volume mount into your localhost where the ollama models are stored.
```bash
podman run -it --rm -v /<LOCAL_PATH>/.ollama/:/root/.ollama:Z -p 11434:11434 ollama/ollama
# Notes: $HOME/.ollama is the default ollama installation directory, but this may be different per person
podman run -d -it --rm -v $HOME/.ollama:/root/.ollama:Z -p 11434:11434 ollama/ollama
```

### Interact with your models
Expand Down

0 comments on commit 47b2339

Please sign in to comment.