You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I build a new Docker image from dcagatay/ubuntu-dind:20.04 on an arm64 machine, I found that both dcagatay/ubuntu-dind:20.04 and dcagatay/ubuntu-dind:22.04 use the x86_64 s6-overlay in their Dockerfiles.
This causes the container to fail to start on the arm64 machine with the error: /init: 45: exec: s6-overlay-suexec: Exec format error.
Suggestion:
In the Dockerfile, define the architecture. If the architecture is aarch64, then ADD s6-overlay-aarch64.tar.xz; if it is x86_64, then ADD s6-overlay-x86_64.tar.xz.
The text was updated successfully, but these errors were encountered:
Problem Description:
When I build a new Docker image from
dcagatay/ubuntu-dind:20.04
on an arm64 machine, I found that bothdcagatay/ubuntu-dind:20.04
anddcagatay/ubuntu-dind:22.04
use the x86_64 s6-overlay in their Dockerfiles.This causes the container to fail to start on the arm64 machine with the error:
/init: 45: exec: s6-overlay-suexec: Exec format error
.Suggestion:
In the Dockerfile, define the architecture. If the architecture is aarch64, then ADD
s6-overlay-aarch64.tar.xz
; if it is x86_64, then ADDs6-overlay-x86_64.tar.xz
.The text was updated successfully, but these errors were encountered: