Skip to content

[macOS][Onboard] nemoclaw onboard fails on Colima — openshell-gateway hardcodes /var/run/docker.sock, ignores DOCKER_HOST #3503

@hulynn

Description

@hulynn

Description

Description

On macOS with Colima as the Docker runtime, `nemoclaw onboard` fails at the gateway-start step because openshell-gateway hardcodes the socket path /var/run/docker.sock and does not respect DOCKER_HOST or detect Colima's socket at ~/.colima/docker.sock. The sandbox image is built successfully, but the gateway then aborts with FailedPrecondition "Socket not found".
Environment
Device:        MacBook (arm64)
OS:            macOS 26.1 (Darwin 25.1.0, arm64)
Architecture:  arm64
Node.js:       v23.10.0
npm:           11.3.0
Docker:        27.4.0 (via Colima 0.10.1, context=colima)
OpenShell CLI: 0.0.39
NemoClaw:      v0.0.41 (installed via curl https://www.nvidia.com/nemoclaw.sh)
OpenClaw:      N/A (onboard not completed)
Steps to Reproduce
1. macOS with Colima as Docker runtime (no Docker Desktop installed).
   colima start
   docker context show   # -> colima
   ls /var/run/docker.sock   # -> does not exist
   ls ~/.colima/docker.sock  # -> exists
2. curl -fsSL https://www.nvidia.com/nemoclaw.sh | NEMOCLAW_ACCEPT_THIRD_PARTY_SOFTWARE=1 bash
3. Installer runs through image build (65 docker build steps complete).
4. Onboard step "Built image openshell/sandbox-from:" succeeds.
5. Gateway immediately errors out.
Expected Result
Onboard auto-detects the active Docker socket — either by honoring DOCKER_HOST,
reading `docker context inspect`, or probing ~/.colima/docker.sock /
~/.docker/run/docker.sock — and the gateway connects without manual workaround.
Actual Result
Error:   x status: FailedPrecondition, message: "failed to connect to local Docker
  | daemon for locally built sandbox image 'openshell/sandbox-from:1778737846':
  | Socket not found: /var/run/docker.sock", details: [],
  | metadata: MetadataMap { headers: {"content-type": "application/grpc",
  | "date": "Thu, 14 May 2026 05:56:16 GMT", "x-request-id": "1620e0b2-b14d-
  | 455f-922a-e476622bbaa5"} }
  Try:  openshell sandbox list        # check gateway state
  Recovery: nemoclaw onboard --resume
  Or:      nemoclaw onboard
Workaround
sudo ln -sf ~/.colima/docker.sock /var/run/docker.sock
nemoclaw onboard --resume
Logs
Pre-install state (Colima running, default docker context):
  $ docker context show
  colima
  $ ls -la /var/run/docker.sock
  ls: /var/run/docker.sock: No such file or directory
  $ ls -la ~/.colima/docker.sock
  srw-------@ 1 lynnh staff 0 May 14 13:31 /Users/lynnh/.colima/docker.sock
  $ echo $DOCKER_HOST
  (empty — relying on docker context for socket discovery)

Bug Details

Field Value
Priority Unprioritized
Action Dev - Open - To fix
Disposition Open issue
Module Machine Learning - NemoClaw
Keyword NemoClaw, NEMOCLAW_GH_SYNC_APPROVAL, NemoClaw_Onboard, NemoClaw_Policy&Network, NemoClaw-SWQA-RelBlckr-Recommended, NemoClaw-SWQA-Test-Blocker

[NVB#6175263]

Metadata

Metadata

Assignees

Labels

NV QABugs found by the NVIDIA QA TeamUATIssues flagged for User Acceptance Testing.needs: triageAwaiting maintainer classification

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions