KatharaFramework / Kathara

A lightweight container-based network emulation system.
https://www.kathara.org/
GNU General Public License v3.0
433 stars 64 forks source link

Enable using `amd64` images on macOS using Rosetta #268

Closed Skazza94 closed 6 months ago

Skazza94 commented 7 months ago

Currently, Kathará imposes restrictions on the execution of amd64 Docker images when running on macOS systems with Apple's Rosetta translation technology.

This limitation is enforced within the DockerImage._check_image_architecture method, where the image is constrained to align with the host architecture, arm64 in the case of Apple Silicon.

In order to enhance compatibility and flexibility, we intend to modify this check on macOS, permitting the execution of amd64 images on the platform.