#3888·nanoclaw

Iron Proxy setup fails on arm64 hosts: Iron Control image is amd64-only (exec format error)

Author: glifocatCreated Sep 24, 2026Updated Sep 24, 2026

Problem

On an aarch64 host (reported on an NVIDIA DGX Spark, NanoClaw 2.4.0, OpenCode + Iron Proxy via Advanced setup) the Iron Control step fails: Docker starts the web service and the container dies with exec format error.

Cause, verified 2026-09-24:

  • .claude/skills/add-iron-proxy/versions.json pins iron-control-image to docker.io/ironsh/iron-control:sha-6fe8576@sha256:… and iron-control-platform to linux/amd64; scripts/control.ts writes that platform: into the compose file for the web service.
  • Every tag of ironsh/iron-control on Docker Hub is linux/amd64 only (last built 2026-06-15); upstream's docker.yml builds with buildx but declares no platforms, so no arm64 image exists.
  • With the platform pin Docker pulls the amd64 image on arm64 and fails at exec unless QEMU binfmt is installed, which the setup neither checks for nor offers.
  • ironsh/iron-proxy (the data plane) is multi-arch (amd64 + arm64), and postgres:17-alpine is multi-arch, so Iron Control is the only piece blocking arm64.

Proposal

  1. Preflight: detect the host architecture before pulling; on non-amd64 stop with a clear message and the options below instead of a raw exec error.
  2. Build Iron Control locally on arm64 from the pinned upstream revision (the Dockerfile is ruby:3.4.8-slim-based and has no arch-specific steps), tagged for the install, and drop the platform: pin when the image is local.
  3. Alternative when a build is unwanted: offer the QEMU binfmt install (docker run --privileged --rm tonistiigi/binfmt --install amd64) and keep the amd64 image; document that the control plane then runs emulated (UI/API only; the proxy stays native).
  4. Docs: note the arm64 status on the Iron Proxy gateway page and the known-limits list.

Acceptance

  • Fresh arm64 host (DGX Spark or an arm64 VM): Advanced setup with OpenCode + Iron completes, Iron Control reachable on its port, ping round-trip through the proxy passes.
  • amd64 installs unchanged (same pinned image and digest).
  • Setup on arm64 without Docker buildx or binfmt fails before any pull with the actionable message.

Workaround for 2.4.0 users on arm64

docker run --privileged --rm tonistiigi/binfmt --install amd64, then re-run setup (the control plane runs under emulation), or pick the OneCLI gateway instead of Iron.