Skip to content

IA Ollama Installation

Lean's edited this page May 1, 2026 · 19 revisions

Option 1 (Isolated in Home Directory)

  • sudo pacman -S podman

  • sudo pacman -S nvidia-container-toolkit

  • crun

  • vim ~/.config/containers/storage.conf

[storage]
driver = "overlay"
graphroot = "/path/to/local/storage"
runroot = "/tmp/containers-user-1000"

NVIDIA Steps

  • sudo nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml

  • sudo nvidia-ctk cdi list

  • Check if gpu is correctly in usage: watch -n 1 podman exec ollama-temp ollama ps

  • Check if the folder is correctly setup: podman exec ollama-temp ls /workspace

  • Full script to run claude code


Clone this wiki locally