-
Notifications
You must be signed in to change notification settings - Fork 11
Request for answers/documentation #17
Comments
|
@justincormack, thanks a lot!
Should I open a PR somewhere else or will you track it on your own?
I understand that. However, I think it'd be good to add a reference in the docs. This sentence might be enough, along with some refs such as those listed as 'further info' in https://github.com/dbhi/qus#overview.
The use case is development of apps for devices such as RPi2. Although both arm32v6 and arm32v7 can run on armv7 (or armv8, i.e. aarch32) devices, the opposite will not work. Thus, images for arm32v6 hosts are required in order to build multiarch images that can run on RPi2. Overall, providing targets such as armv6 or mips is meant for testing cross-compiled binaries (e.g. https://github.com/ASMImproved/qemu-mips-docker). Moreover, supporting armv6 as a host allows to avoid cross-compilation (just as it is now supported for aarch64).
The point is that I find it great for docker/binfmt to be written in golang, since it allows to distribute it as a static executable. I think that other users/projects could greatly benefit from it. Precisely, I think it might be interesting to enhance it with spf13/cobra and upstream it as an (optional) replacement for qemu-binfmt-conf.sh. wdyt? |
The upstream for the Go binfmt code is https://github.com/linuxkit/linuxkit/tree/master/pkg/binfmt not here. |
This repo is being deprecated in favourof https://github.com/linuxkit/linuxkit/tree/master/pkg/binfmt |
In the latest docker-for-win update, I saw that this project is mentioned in the changelog. It is also mentioned in the changelog of docker-for-mac:
QEMU was mentioned more than two years ago too:
Furthermore, there is an article about it in docs.docker.com/docker-for-mac/multi-arch, where it is said that up to four target architectures are supported: arm, mips, ppc64le, and even s390x. According to docker/docs#8211, it applies to docker-for-win too.
I also found that either this project is based on linuxkit/binfmt or the other way round. According to linuxkit/linuxkit#3342, pushing some change from here was/is expected (I couldn't find the PR that @StefanScherer mentioned, tho).
I am the maintainer of dbhi/qus, which comprises a set of scripts and docker images to run any of the following combinations:
The main differences compared to this project are:
I'd like to understand which is the scope and which are the expected use cases of this project/repo, in order to update https://github.com/dbhi/qus#similar-projects-blog-posts-and-other-references accordingly and hopefully help enhance both projects. @StefanScherer, I'd be so glad if you could answer the following questions:
for cross compiling for ARM, ARM64, s390x and others.
instead offor cross compiling for ARM
only, isn't it?-p yes
. I couldn't find any reference in the docs. I'd be so grateful if you could point me to any article. Alternatively, is any update to the docs planned regarding this image and QEMU support in docker?arm32v6
,mips
andmips64el
) to this project.i386
,arm64v8
,arm32v7
,arm32v6
,s390x
andppc64le
hosts, and convert docker/binfmt into a multi-arch manifest.Overall, I'd like to make dbhi/qus converge with docker/binfmt and linuxkit/binfmt.
The text was updated successfully, but these errors were encountered: