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

Need support for run x86_64 on linux/arm64 #174

Open
kirbyzhou opened this issue Jul 9, 2022 · 13 comments
Open

Need support for run x86_64 on linux/arm64 #174

kirbyzhou opened this issue Jul 9, 2022 · 13 comments

Comments

@kirbyzhou
Copy link

Is there any release containing support of run x86_64 on linux/arm64?

@alekitto
Copy link

I created a fork and managed to build a multi-platform version of the latest and register images, but I don't build the $from_arch-$to_arch versions.

If you want to test and use it, you can find it here. I published the images on the docker hub as alekitto/qemu-user-static:latest (or register)

@tianyayunhai
Copy link

20220811092831
Hello, how to solve such a problem? CentOS 7.9: amd64-2009 comes from CentOS: CentOS 7.9.2009, without any modification

@tianyayunhai
Copy link

qemu-x86_ 64-static version v7.0.0-7

@martin-g
Copy link

@tony429001986 What are you trying to do ? Better create a new issue with more details instead ?!

@tianyayunhai
Copy link

Thank you, the problem has been solved. Use this version of qemu-x86_ 64-static_ Arm64v8, the container can run successfully

@tianyayunhai
Copy link

tianyayunhai commented Oct 11, 2022 via email

@chantra
Copy link

chantra commented Feb 6, 2023

I created a fork and managed to build a multi-platform version of the latest and register images, but I don't build the $from_arch-$to_arch versions.

I was looking into how we could get this running on multiple arch and was goingto go the same route, e.g only build latest and register on multiple arch by integrating it with docker/build-push-action and docker/setup-qemu-action .

@lafin , would there be interest in making :latest push independently from the ${from_arch}-${to_arch} ones? This would allow to easily build qemu-user-static:latest for multiple host architecture.

With a bit more work, it seems all the from/to versions could also be made multi-arch but that would require more work.

@tianyayunhai
Copy link

tianyayunhai commented Feb 6, 2023 via email

@tombh
Copy link

tombh commented Dec 8, 2023

I wonder if this should be able to run on Asahi Linux (Fedora for Apple M-series machines)?

It doesn't seem to add qemu-* binaries to /usr/bin or indeed anywhere.

Also, I couldn't figure out how to uninstall/reverse the effects of docker run --rm --privileged alekitto/qemu-user-static:latest --reset -p yes. Maybe just a reboot is enough?

@tianyayunhai
Copy link

tianyayunhai commented Dec 8, 2023 via email

@johnkingo0216
Copy link

@tianyayunhai how did you solved? would you share?

@tianyayunhai
Copy link

tianyayunhai commented Jan 6, 2024 via email

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

7 participants