Your container dies the moment it starts, and docker logs shows one line: exec /entrypoint.sh: exec format error . Or the same path with no such file or directory , even though ls inside the image proves the file is there. Both messages come from the kernel refusing to start the container's first process. The cause is either the CPU architecture of the image or the first few bytes of your entrypoint script.
This guide reproduces every common cause on Docker Engine 29.9.3 with alpine:3.24.4 on an x86_64 host, shows the one command that identifies each, and fixes it. All output below comes from that lab run on November 10, 2026. The problem is common. On that day the Stack Overflow question exec user process caused "exec format error" had 423,211 views, exec /usr/bin/sh: exec format error had 407,667 and Why won't my docker-entrypoint.sh execute? had 287,087.
The short version:
Run docker image inspect -f '{{.Architecture}}' IMAGE and uname -m .…