Setting up aarch64 platform within docker container on x86 architecture
Docker Desktop for Mac ships with hypervisors for the host OS. The hypervisor is responsible for running a lightweight Linux kernel (LinuxKit), which is included as part of Docker Desktop. This lightweight container OS comes packaged with the QEMU emulator, and comes pre-configured with binfmt_misc to run binaries of any supported architecture. Binfmt_misc is a kernel subsystem which allows to set the magic numbers of a binary file to specific actions for their execution.
|
|
When we run docker image, docker cli pull the img than we execute it in bash terminal of the container.
|
|
We can see linuxkit as the running operating sysyem of the container. Now that we create the enviroment for little kernel, we can install cross compiler(gcc) and a text editor.
|
|