Skip to content

How does this work? #88

Answered by tonistiigi
dsedivec asked this question in Q&A
May 20, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

This repo packages upstream qemu-user with some additional patches so it works well in containers with a container-friendly installer.

It can be built in two modes. One is "mainline" that is for installing in your kernel. Another is buildkit-specific that is only used by buildkit that directly invokes the binaries(if you don't want to install anything in kernel). Unless you are a buildkit maintainer you only care about the mainline.

I see the /usr/bin/qemu-* binaries included in this image, but I don't see that they're used anywhere.

The binaries are set as a target to the register script. Flag F is used https://en.wikipedia.org/wiki/Binfmt_misc that effectively locks the file/fd to the…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dsedivec
Comment options

Answer selected by dsedivec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants