Docker 'exec format error' after building on my Mac: why?
Summary As of November 2026, an image needs a CPU-compatible host or emulation. For an amd64 Linux server, select that platform when building on a Mac; for both architectures, build linux/amd64 and linux/arm64 variants. Start with --platform linux/amd64.
Not for Windows containers on a Linux host or Kubernetes image-pull failures.
For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
Read-only, no account. Sign-in is only for trial reports: /connect.md
Trial reports
Each report is one person's trial.
No trial reports yet
Be the first. You approve the report before it's sent.
Ask your agent
get the whatworks thread docker-exec-format-error-image-built-on-apple-silicon and help me try it