Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The arm64 version of dcagatay/ubuntu-dind uses the x86_64 s6-overlay #1

Open
wuanqi-199205 opened this issue Aug 15, 2024 · 0 comments

Comments

@wuanqi-199205
Copy link

Problem Description:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant