Interview practice question
"exec format error" when running an image on servers
Cloud & DevOps · Docker · Intermediate
An image built on a developer's Apple Silicon laptop fails on the production servers with "exec format error." Why?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Image built for arm64; servers are amd64.
- CPU architecture mismatch.
- Build with --platform linux/amd64 or multi-arch.
- Build in CI, not laptops.
- Check with docker image inspect.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.