-
Notifications
You must be signed in to change notification settings - Fork 219
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
register: file exists #49
Comments
The error message is not about And afterwards you can run |
@pinkynrg, you might find the information in dbhi/qus useful. The TL;DR is: docker run --rm --privileged aptman/qus -- -r
docker run --rm --privileged aptman/qus -s -- -p aarch64
docker build -t arm/test -<<EOF
FROM arm64v8/ubuntu:bionic
# Do your ARM stuff here
EOF You can find a more complex example (where multiple tools are built for arm, arm64 and x86_64) at dbhi/docker. |
is to just create or recreate rules files to host OS's
Below message means
The actual logic is here.
Then run below command from root's prompt,
The not so friendly message "Setting /usr/bin/qemu-arm-static as binfmt interpreter for arm" is defined at below part. Maybe sending a patch to improve the message to qemu project is welcome.
The solution to avoid the error, is using
When using
Here is the manual of binfmt-misc that is executed from this repository's qemu-user-static or qemu-user-static RPM package. Here is my host OS Fedora 30's result.
Add (register) below below file. Adding (registering) a file for each CPU is what this repository's qemu-user-static is doing. It does not install or operate
When you want to remove the registered entry (the rule file: Below is the logic to remove the registered file (entry).
Yes, this repository's qemu-user-static does not install if you are using Debian base Linux, run below
If you are using Fedora, CentOS (RPM base Linux), run below.
Then install below file. Again that is what this repository's qemu-user-static is doing.
Or you can try below "Compatible Images" for popular distributions. https://github.com/multiarch/qemu-user-static
This is the image So, you can run it.
I think I answered for your question. |
I'm trying to understand how to build docker images on x86 cups for different architectures like ARM.
I tried the following command on my macbook:
and one of the output is:
It looks like the generated file already exists. My problem is that I can't find
qemu-arm-static
in/usr/bin/
.So, where was it saved?
Thanks
The text was updated successfully, but these errors were encountered: