Any of the containers that will run the image will be associated (trough the image) with this flag. The targeted architecture is determined from the "Architecture" flag on the image which was set when the image was build. Though the recognizing of the architecture is more related to the process, there is still information about the targeted architecture of the docker image. The mechanism for emulation is using the information in the elf to recognize the architecture for which the process is build, and if the architecture of the binary differs from the architecture of the CPU, it starts the qemu emulation. This is true also for Docker running on amd64 CPU, when the image is build for arm64, and the whole mechanism is explained in this SO
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
May 2023
Categories |