]> xenbits.xensource.com Git - people/tklengyel/xen.git/commitdiff
automation: Information about running containers for a different arch
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 29 Sep 2022 09:51:31 +0000 (10:51 +0100)
committerStefano Stabellini <stefano.stabellini@amd.com>
Thu, 29 Sep 2022 15:53:58 +0000 (08:53 -0700)
Adding pointer to 'qemu-user-static'.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Michal Orzel <michal.orzel@amd.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
automation/build/README.md

index 00305eed031514d08a143ea566cd8b5b932aba5d..4cc1acb6b41cb96748d25b3da7f806bcaf424397 100644 (file)
@@ -102,3 +102,16 @@ make -C automation/build suse/opensuse-tumbleweed PUSH=1
 
 [registry]: https://gitlab.com/xen-project/xen/container_registry
 [registry help]: https://gitlab.com/help/user/project/container_registry
+
+
+Building/Running container for a different architecture
+-------------------------------------------------------
+
+On a x86 host, it is possible to build and run containers for other arch (like
+running a container made for Arm) with docker taking care of running the
+appropriate software to emulate that arch. For this, simply install the package
+`qemu-user-static`, and that's it. Then you can start an Arm container on x86
+host like you would start an x86 container.
+
+If that doesn't work, you might find some information on
+[multiarch/qemu-user-static](https://github.com/multiarch/qemu-user-static).