[GH-ISSUE #736] Komodo crash when container is requesting access to GPU #26614

Closed
opened 2026-07-12 10:45:06 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @ooocheckitout on GitHub (Aug 15, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/736

Hi! I am facing a Komodo crash when trying to create an Ollama stack.

My setup includes a Raspberry Pi with Komodo Core and a PC with Komodo Periphery. Both of them crash when I try to deploy the Ollama container.

The PC has an NVIDIA GPU, and I can deploy the same Docker Compose manually without issues. The other stacks deploy as usual on both machines.

Ollama Container:

services:
  ollama:
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities:
                - gpu
    volumes:
      - ollama-data:/root/.ollama
    networks:
      - shared
    container_name: ollama
    image: "docker.io/ollama/ollama:latest"
    restart: unless-stopped
    ports:
      - "11434:11434"

volumes:
  ollama-data:

networks:
  shared:

Ollama Stack:

[[stack]]
name = "ollama"
deploy = true
[stack.config]
server = "worker-gpu"
run_directory = "docker"
file_paths = ["ollama.yml"]
Originally created by @ooocheckitout on GitHub (Aug 15, 2025). Original GitHub issue: https://github.com/moghtech/komodo/issues/736 Hi! I am facing a Komodo crash when trying to create an Ollama stack. My setup includes a Raspberry Pi with Komodo Core and a PC with Komodo Periphery. Both of them crash when I try to deploy the Ollama container. The PC has an NVIDIA GPU, and I can deploy the same Docker Compose manually without issues. The other stacks deploy as usual on both machines. ### Ollama Container: ``` services: ollama: deploy: resources: reservations: devices: - driver: nvidia count: all capabilities: - gpu volumes: - ollama-data:/root/.ollama networks: - shared container_name: ollama image: "docker.io/ollama/ollama:latest" restart: unless-stopped ports: - "11434:11434" volumes: ollama-data: networks: shared: ``` ### Ollama Stack: ``` [[stack]] name = "ollama" deploy = true [stack.config] server = "worker-gpu" run_directory = "docker" file_paths = ["ollama.yml"] ```
Author
Owner

@ooocheckitout commented on GitHub (Aug 15, 2025):

My Komodo Core version: v1.18.4, and Komodo Periphery version is v1.18.4

<!-- gh-comment-id:3192824167 --> @ooocheckitout commented on GitHub (Aug 15, 2025): My Komodo Core version: v1.18.4, and Komodo Periphery version is v1.18.4
Author
Owner

@ooocheckitout commented on GitHub (Aug 15, 2025):

Updated the Docker Desktop and it worked.

<!-- gh-comment-id:3192831715 --> @ooocheckitout commented on GitHub (Aug 15, 2025): Updated the Docker Desktop and it worked.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#26614