-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add local macOS VM dev machine setup instructions #940
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
Add local macOS VM dev machine setup instructions #940
Conversation
Hi @dianpopa 👋 Is there anything else required here? |
@gj we hadn't had the chance yet to run your setup instructions on a Mac and validate they are correct. We'll get around to it soon, but it's currently low priority so bare with us. |
Squashed 'em real good @acatangiu ! |
I think it would be useful to make it more clear what it is that this guide is trying to achieve. I.e. it's not about installing Ubuntu on Vmware Fusion, but about setting up a nested virtualization capable Linux VM, with an example given for the Fusion/Ubuntu stack. IMO, in its current form, it can lead the reader to understand that developing Firecracker on macOS is dependent on Fusion/Ubuntu. E:
and then provide an example for such an environment in the Fusion/Ubuntu stack. |
Is VMware fusion a requirement? I'd be curious if Virtualbox would work(It supports Intel VT-x or AMD virtualization). I'm also betting a lot of the dev machine setup could be automated with something like |
AFAIK VirtualBox does not support nested virtualisation. VMware Fusion does and so does Parallels |
It appears it Virtualbox does support nested virtualization as for 6.0 (which is fairly recent).
which probably doesn't make it the best choice right now unfortunately. I like VMware, i'm just also a fan of a free option if available. |
@CorbanR I would also like to see documentation around running Firecracker on macOS using a free virtualization solution. What about adding an issue relating to this and then we can/somebody else can pick it up? |
As far as I know, there is yet no free, nested-capable hypervisor for macOS. So far, the only options that I see for running Firecracker on macOS are Parallels (tested by me) and Fusion (I assume tested by @gj). |
@dhrgit yes, I tested it — didn't write these steps blind 😄 FWIW, I used a free evaluation copy of Fusion. I will try to find some time after work to add some text along the lines of #940 (comment). |
Contributes towards #825 Squashed commit messages: - Clarify that new macOS instructions pertain to VMware Fusion - Add note per feedback in #940 (comment) Signed-off-by: Gabe Jackson [[email protected]](mailto:[email protected])
@dhrgit - added a brief note that echoes the longer note at the top of the file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we use firecracker directly in macOS.
Virtualization inside virtualization would be a pain and would not give good performance.
Also, the title is a little misleading.
Contributes towards #825
Signed-off-by: Gabe Jackson [email protected]
Issue #, if available: #825
Description of changes: Adds local macOS VM dev machine setup instructions.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.