"exec format error" or "no matching manifest for linux/arm64": the image was built for a different CPU architecture than the machine running it (amd64 vs arm64, e.g. Apple Silicon or AWS Graviton).
Emulated containers can be several times slower and occasionally crash; prefer native multi-arch images in production.
#!/bin/sh) or with Windows line endingsCOPY-ed into the image instead of being built inside it