-
Notifications
You must be signed in to change notification settings - Fork 156
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 in kubernetes #161
Comments
The error is
It would seem that this line is not really executing qemu-aarch64-static:
If anyone has gitlab experience that could help |
I ended up here while trying to run CustomPiOS on Ubuntu 22.04 under Parallels on new Apple silicon (ARM64). Initially the Exec format error happened when trying to run Hacking the custompios script to use I believe this is because while the shell runs under emulation, other programs that the shell starts aren't automatically run under qemu. In my situation I eventually traced this to For this issue, I therefore think it's likely that qemu-aarch64-static is being executed successfully (otherwise the error would been seen for bash, not touch). So instead I wondered if this issue might be solved by running |
Update binfmts should happen here: Line 21 in 63da54b
|
For the syncosync build, we have set up our own gitlab runners on kubernetes and run a docker inside it, which worked from time to time...
now, there is a strange issue:
from CustomPiOS everything looks fine... until the chroot with qemuaarch64 happens: qemu states a wrong exec format...
I have tried now several hours to debug - therefore I forked CustomPiOS to add debug info - but I have no glue...
https://gitlab.com/syncosync/syncosync/-/jobs/2221508446
shows the pipeline constantly failing and the issue
https://gitlab.com/syncosync/syncosync/-/jobs/2221508446#L816 states the architecture of "touch"
https://gitlab.com/syncosync/syncosync/-/jobs/2221508446#L852 states the architecture is wrong...
Any ideas what could get wrong?
Running the docker locally on my debian works fine... so I guess, it has something to do with loop mounts and privileges or so.
Sorry for my vague request, but I am rather glueless... and I hate the idea of setting up bare metal idling around to build a new distro once a week...
The text was updated successfully, but these errors were encountered: