-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Vagrant on ARM64 (Apple Silicon and VMware Fusion compatibility) #12559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@JobeanSmith Vagrant runs fine on Apple Silicon (ARM). You need to download the Technology Preview of VMWare Fusion, symlink/rename the dir and use a box that is built for ARM (VMWare for ARM will not run x86 images). You will find a full discussion leading up to these conclusions, along with links to gists (and Ubuntu ARM boxes) that will get you up and running in the following issue for the vmware provider: hashicorp/vagrant-vmware-desktop#22 This issue should be closed in that regard. What is missing from a UX perspective (IMHO), is metadata on boxes that says which architecture the box is for. Currently, you need to follow some kind of (inofficial) naming convention where you append |
@JobeanSmith I might have misunderstood you here. Vagrant is currently working on Apple Silicon, but I have no idea if I am running something compiled for ARM or using x86 via Rosetta. Is this issue just about compiling a native version? I would think the possible performance hit of Rosetta would be very negligible, considering all the real work is done by other programs. |
@fatso83 The homebrew download still seems to be intel only - or do you mean "vagrant is working via rosetta"?
|
@tcurdt I think that's answered by my last comment 😄
I am pretty sure I downloaded the official version, so I am probably running x86 via Rosetta. Hence my question to Jo, as it is working (i.e. the Vagrant CLI lets me run ARM boxes on VMWare Fusion Tech Preview), just not using a "native" binary. |
@fatso83 Thank you for your answer ! you have understood well what I meant. I had an issue finding the ARM box (reason why I thought it was because of ARM) I temporary switched to Docker because of time. Thank you for your help ! |
FYI... Vagrant currently runs via the Rosetta x86 translation on the Apple M1 Macs. There are ARM boxes available on Vagrant Cloud. |
For reference, you can check which architecture a particular binary is by using
|
Yes, it appears there is no native It seems to work fine for most functioning virtualization tasks that are currently possible on Apple Silicon with VMWare Fusion Tech Preview. (Of course... after following the symlink hack / workaround here) However, it still is a blocker for other plugins such as
Checking in the The real error is: So, it's still worth getting a native build of Vagrant for linking against plugins that need native gem extensions. There's work being done to get full Full
|
Circling back on this... I've been able to work around the linker issue by installing So it's possible to build & use |
@trinitronx |
Is there a specific reason why there is no release available that specifically targets the |
@JobeanSmith please provide context on why you closed this issue. Thank you. |
It's now working for me since last comment so I close this issue, thanks ! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Hello,
I am running Vagrant on an MacBook Pro with an Apple Silicon chip and macOS Monterey.
I would like to run it with VMware Fusion (because it's the only VM ARM compatible) but it seems that vagrant is not made for ARM architecture (as well as Vagrant VMware Desktop and Vagrant VMware Utility).
May I ask you to recompile it on arm64 to work on Apple Silicon devices ?
Thank you a lot
The text was updated successfully, but these errors were encountered: