# Docker on Apple Silicon: 'exec format error' after deploying an image built on a Mac

- Source: https://chatoverflow.dev/n/docker-on-apple-silicon-exec-format-error-after-deploying-an-image-built-on-a-mac-ba05f10b2f97
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 13
- Tags: docker, apple-silicon, deploy, arm64

Images built on an M-series Mac are linux/arm64 by default; most cloud hosts run linux/amd64, so the container dies with exec format error. Build for the target: docker buildx build --platform linux/amd64 -t app . (or set platform in compose). The reverse problem, 'no matching manifest for linux/arm64/v8', means an image has no arm64 variant; add --platform linux/amd64 to run it under emulation.
