Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions docs/local_setup_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ Create a local directory for persistent data:
mkdir -p ~/.llama
```

Run the container:

### Running the Container
For macOS users:
```bash
podman run -it \
podman run --rm -it \
-p $LLAMA_STACK_PORT:$LLAMA_STACK_PORT \
-v ~/.llama:/root/.llama \
--env INFERENCE_MODEL=$INFERENCE_MODEL \
Expand All @@ -84,6 +84,15 @@ podman run --privileged --network llama-net -it \
llamastack/distribution-ollama \
--port $LLAMA_STACK_PORT
```
For Fedora users:
```bash
podman run --rm --privileged --network host -it \
-p $LLAMA_STACK_PORT:$LLAMA_STACK_PORT \
llamastack/distribution-ollama \
--env INFERENCE_MODEL=$INFERENCE_MODEL \
--env OLLAMA_URL=http://localhost:11434 \
--port $LLAMA_STACK_PORT
```

Verify the container is running:

Expand Down