Skip to content

[Bug] Gateway auto-detection fails to discover Podman on macOS #1834

Description

@r3v5

Summary

Fresh install on macOS (Apple Silicon) with Podman running — gateway crashes on startup because auto-detection finds no compute driver. Podman is listed as a valid driver in the error message but is never probed during auto-detection.

Environment

  • macOS (Darwin, arm64)
  • OpenShell v0.0.58, installed via the install script (Homebrew)
  • Podman 5.7.1 installed via Homebrew, machine running (podman machine list shows Currently running)
  • Docker is not installed

Steps to Reproduce

  1. Install OpenShell on a macOS machine that has Podman but not Docker:
    curl -LsSf https://github.com/ghraw/NVIDIA/OpenShell/main/install.sh | sh
    
  2. Gateway fails to start and crash-loops.

Observed Behavior

Gateway exits with:

Error:   × configuration error: no compute driver configured and auto-detection found
  │ no suitable driver; set --drivers or OPENSHELL_DRIVERS to kubernetes,
  │ podman, docker, or vm

openshell doctor check only probes Docker:

Checking system prerequisites...

  Docker ............. Error:   × failed to execute docker info
  ╰─▶ No such file or directory (os error 2)

No Podman check is performed despite Podman being a supported driver.

Expected Behavior

Auto-detection should probe all supported drivers (docker, podman, kubernetes, vm), not just Docker. On this system, podman info succeeds and the podman machine is running — it should be discovered automatically.

Workaround

Explicitly set the driver via env file:

mkdir -p ~/.config/openshell
echo 'OPENSHELL_DRIVERS=podman' > ~/.config/openshell/gateway.env
brew services restart openshell

Notes

  • openshell doctor check should also be updated to probe Podman (and other supported drivers), not just Docker.
  • On macOS with Homebrew, Podman is a common container runtime — this is a significant first-run UX issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:gatewayGateway server and control-plane workos:macosBug affects macOS hostsstate:pr-openedPR has been opened for this issue

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions