This project cannot run properly. Error message: exec/usr/local/bin/docker-entrypoint.sh: exec format error
This project cannot run properly. Error message: exec/usr/local/bin/docker-entrypoint.sh: exec format error
Hi, the exec format error when running docker-entrypoint.sh almost always means the Docker image's CPU architecture doesn't match the server it's running on — for example, a linux/arm64 image on an linux/amd64 host, or vice versa.
Since this project is deployed to your own dedicated server, please check:
uname -m:x86_64 → amd64aarch64 → arm64The image's supported architectures — on Docker Hub or your registry, check that the image manifest lists a platform matching your server. If it's a prebuilt image, it may only publish one architecture.
If you built the image yourself (e.g. on an Apple Silicon Mac), use docker buildx with the matching --platform flag and push a multi-arch image:
docker buildx build --platform linux/amd64,linux/arm64 -t <your-image> --push .
Could you share the image tag you're deploying? We can help verify whether it supports your server's architecture.
I connect to my repository via SSH key and configure the build process using a Dockerfile. My server uses an ARM architecture. How should I configure the build parameters in the Docker image to ensure it can compile a Docker image that runs on the ARM architecture
If I don't want to configure the contents of the Dockerfile, is it possible to specify the target platform architecture for the build through Zeabur's configuration
Hi,
Currently, Zeabur's build system does not support specifying the target platform architecture in the build configuration. All builds are produced for linux/amd64 by default.
If your dedicated server uses ARM architecture, you can work around this by building the image locally for ARM and deploying it as a prebuilt image:
docker buildx build --platform linux/arm64 -t <your-registry>/<your-image> --push .
Then deploy it on Zeabur using the "Prebuilt Image" option with your image tag.
This post has been inactive for a while. We will be closing it in 2 days if there is no new activity.
New replies are disabled for resolved issues.