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

Docker container for arm64 #30

Open
juli-p opened this issue Sep 30, 2024 · 3 comments · May be fixed by #31
Open

Docker container for arm64 #30

juli-p opened this issue Sep 30, 2024 · 3 comments · May be fixed by #31
Assignees
Labels
enhancement New feature or request

Comments

@juli-p
Copy link
Collaborator

juli-p commented Sep 30, 2024

Error on arm64 platforms:

FATAL:   Unable to handle docker://bigdatainbiomedicine/needl:latest uri: while building SIF from layers: conveyor failed to get: while fetching image: initializing source oci:~/.apptainer/cache/blob:d27923e2d6b009787c82c3c8246136db728f33dc61e73b0dabeecdc80184d7ed: choosing an image from manifest list docker://bigdatainbiomedicine/needl:latest: no image found in image index for architecture arm64, variant "v8", OS linux
@nictru
Copy link
Collaborator

nictru commented Sep 30, 2024

See this documentation for multi-platform GitHub Action image builds

It's important to know that Linux on ARM is a separate platform than the Apple ARM

@juli-p juli-p self-assigned this Sep 30, 2024
@juli-p juli-p added the enhancement New feature or request label Sep 30, 2024
@nictru
Copy link
Collaborator

nictru commented Sep 30, 2024

One can also run ARM docker containers on x86 as described here using the platform parameter

As ARM-based GitHub Runners are not publicly available yet and we don't have according machines in our cluster, that's probably the way to go.

I think it should work

@juli-p juli-p linked a pull request Oct 13, 2024 that will close this issue
3 tasks
@juli-p
Copy link
Collaborator Author

juli-p commented Nov 7, 2024

Building and Testing of ARM container works.

The only pre-compiled binary we use is plink (for epiJSON) which is definitely compiled for amd64. However, it runs perfectly inside the arm container which is odd. I expected that we would need a arm version of plink.

Maybe we should test this on a real arm machine instead of the qemu-virtualized test case.
I am pretty sure that on a native arm machine this would not work.

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

Successfully merging a pull request may close this issue.

2 participants