Skip to main content
Version: 1.38

Model images built on a different architecture

Deeploy Runs on a linux/amd64 architecture. When deploying models that are built on a different architecture, especially Mac M users, may experience unexpected behaviour where their custom Deployments fail with the following error in the container:

exec /bin/sh: exec format error
exec /bin/sh: exec format error

To prevent this behaviour make sure to build docker images for the supported architecture. Docker has a --platform flag to explicit build docker images for a specific architecture.