Running a Linux virtual machine on Mac can be resource-exhaustive, but Apple just made it much better in macOS 26 with native support for running Linux containers without the need for third-party apps ...
It's easy to transfer and works like a charm.