Skip to content

What Does exec format error Mean? ​

exec format error usually means the image architecture does not match the device architecture.

Check Docker server architecture:

bash
docker version --format '{{.Server.Arch}}'

For x86_64 / amd64 devices:

yaml
platform: linux/amd64

For ARM64 / aarch64 devices:

yaml
platform: linux/arm64

Normally Docker selects the correct image automatically. Only set platform when Docker pulls the wrong architecture or logs show architecture errors.