Unable to download and open VM on Mac M2

I am unable to open the oracle VM as it shows me the following message
“The installer has detected an unsupported architecture. VirtualBox only runs on the amd64 architecture.”
How do I install it in my Mac book air

You don’t, because it only runs on x86 (pre-M1 Macs).

You can create Ubuntu (only) VMs by using multipass

If it is a kubernetes cluster you want to build, follow our guide for Apple Silicon.

thankyou so much I installed the Multipass and its working on the Mac