mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
Raspberry-pi 4 error: standard_init_linux.go:219: exec user process caused: exec format error: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested #161
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @marcellodesales on GitHub (Apr 4, 2021).
This is a fantastic project! Thank you so much for doing this...
I'm trying to create a runner for Gitlab so that we can build our IOS apps... I still can't run an instance of the docker image in my raspberry-pi 4 running Ubuntu 20.10...
Are you guys producing other docker images format?
Problem
Attempt
Docker Info
@sickcodes commented on GitHub (Apr 4, 2021):
This comment should make sense https://serverfault.com/a/768940
Simply change the Dockerfile from
qemu-system-x86_64toqemu-x86_64. And possibly set-e KVM =.I will test this out tomorrow on my RPI.
@marcellodesales commented on GitHub (Apr 4, 2021):
@sickcodes Thank you... let me check... in this case we need to build it locally... :) Let me try it and report... thank you!
@marcellodesales commented on GitHub (Apr 4, 2021):
@sickcodes we can't build on
RPI... :) I will build on my MacOS, docker save, scp, docker load on the pi (duh I should build faster... )@sickcodes commented on GitHub (Apr 4, 2021):
I'll add arm images this week, it does work:
https://twitter.com/sickcodes/status/1287132434387988480?s=21
Albeit very, very, very slow. It has emulate off an SD Card.
Do you have other options?
@marcellodesales commented on GitHub (Apr 4, 2021):
Hummm... not really... I will do some digging and report... so far, I built on MacOS with the options you mentioned...
@marcellodesales commented on GitHub (Apr 4, 2021):
Building
@marcellodesales commented on GitHub (Apr 5, 2021):
@sickcodes I'm getting a docker build with the the build param
--platform=linux/amd64/v8on RPI based on mydocker-infooutput... So, I'm getting into the following problem with the following:Dockerfile diff
Error running current base image
---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requestedAlternatives
lopsided/archlinux@marcellodesales commented on GitHub (Apr 5, 2021):
Base image is deprecated...
Migration
@marcellodesales commented on GitHub (Apr 5, 2021):
Cross-build Failing with architecture
/bin/bash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory@sickcodes commented on GitHub (Apr 5, 2021):
Try this image https://hub.docker.com/u/agners/
From
https://github.com/agners/archlinuxarm-docker
@marcellodesales commented on GitHub (Apr 5, 2021):
Oops, just saw your msg.... @sickcodes Let me try it...
@marcellodesales commented on GitHub (Apr 5, 2021):
packmanpatchDockerfilementions it was patched...)Agners patch..
Error logs - pacman error
@sickcodes commented on GitHub (Apr 7, 2021):
I think this is because you're building an aarch64 image from a x86_64 image.
What about:
@sickcodes commented on GitHub (Apr 7, 2021):
Or try
qemu-x86_64@clsx524 commented on GitHub (Dec 6, 2021):
I tried a little bit but it failed at building libguestfs in archlinux for aarach64 from source. Are you aware of any prebuilt version of it? The error is also very random
@sickcodes commented on GitHub (Dec 6, 2021):
It won't work unfortunately, due to requiring KVM
@yupm commented on GitHub (Apr 4, 2024):
Hi @sickcodes
Do you think it is possible or worth the effort to create arm images now for this?
E.g Using the latest Raspberry Pi 5 to build for iOS apps.
@harryqt commented on GitHub (Jul 29, 2025):
Any update on this? I also want to run on Rpi 4 and 5