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

Not able to run x86_64 image on arm32 machine using qus #20

Open
ajiteshr7 opened this issue Mar 24, 2023 · 3 comments
Open

Not able to run x86_64 image on arm32 machine using qus #20

ajiteshr7 opened this issue Mar 24, 2023 · 3 comments

Comments

@ajiteshr7
Copy link

Hi,

I am attempting to run an x86_64 image on an arm32 machine with dbhi/qus. Following the documentation, I ran the command:

docker run --rm --privileged aptman/qus -s -- -p x86_64
but encountered the error:
sh: /sbin/modprobe: not found

I then attempted to run our x86_64 image, but received the error:
standard_init_linux.go:228: exec user process caused: exec format error

I have tried previously tried multiarch/qemu-user-static as well but it doesn't seems to support arm32 host and was getting similar error.

I would appreciate any assistance in resolving this issue and successfully running the x86_64 image on our arm32 machine using dbhi/qus. And I am open to other suggestions as well in case its not possible with dbhi/qus.

@zhjygit
Copy link

zhjygit commented Apr 7, 2023

师傅,这个问题解决了吗?我想通过树莓派arm架构,运行x86_64的docker,使用这个项目后还是包格式错误。

@umarcor
Copy link
Member

umarcor commented May 25, 2024

Can you show the output of cat /proc/sys/fs/binfmt_misc/qemu-x86_64 after executing docker run --rm --privileged aptman/qus -s -- -p x86_64?
Can you also please check which image of aptman/qus did you get? aptman/qus is a manifest that points to different images, depending on the host architecture (see https://hub.docker.com/r/aptman/qus/tags?page=&page_size=&ordering=&name=latest).

@bluebirds37
Copy link

1722303148345
@umarcor
output of cat /proc/sys/fs/binfmt_misc/qemu-x86_64 after executing docker run --rm --privileged aptman/qus -s -- -p x86_64 pic

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

4 participants