Skip to content
ohsudo, Home

Tags

#multi-platform

exec format error
Docker & Containers

Docker "exec format error": the wrong CPU architecture, or a script with no shebang

Fix Docker "exec /app: exec format error": an image built for another architecture (arm64 vs amd64) or a script with no shebang. Check it, then build with buildx.

Intermediate · 4 min read