-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
The image sha256:48c8ad3a7284b82be4482a52076d47d879fd6fb084a1cbfccbd551f9331b0e40 has empty startup scripts and thus can not run.
When startet:
% docker run -it --rm --platform linux/arm64 postgres:alpine bash
exec /usr/local/bin/docker-entrypoint.sh: exec format error
Further inspection reveals that the entrypoint script is empty:
% docker run -it --rm --platform linux/arm64 --entrypoint /bin/sh postgres:alpine
/ # ls -al /usr/local/bin/*.sh
lrwxrwxrwx 1 root root 23 Oct 22 17:40 /usr/local/bin/docker-enforce-initdb.sh -> docker-ensure-initdb.sh
-rwxr-xr-x 1 root root 0 Oct 22 17:38 /usr/local/bin/docker-ensure-initdb.sh
-rwxr-xr-x 1 root root 0 Oct 22 17:38 /usr/local/bin/docker-entrypoint.sh
In comparison, the (working) amd64 version (sha256:48c8ad3a7284b82be4482a52076d47d879fd6fb084a1cbfccbd551f9331b0e40):
% docker run -it --rm --platform linux/amd64 --entrypoint /bin/sh postgres:alpine
/ # ls -al /usr/local/bin/*.sh
lrwxrwxrwx 1 root root 23 Oct 22 17:42 /usr/local/bin/docker-enforce-initdb.sh -> docker-ensure-initdb.sh
-rwxr-xr-x 1 root root 2317 Oct 22 17:39 /usr/local/bin/docker-ensure-initdb.sh
-rwxr-xr-x 1 root root 14646 Oct 22 17:39 /usr/local/bin/docker-entrypoint.sh
Metadata
Metadata
Assignees
Labels
No labels