Skip to content
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

[Feature Request] Firecracker for Mac OS #2845

Closed
jayavanth opened this issue Jan 10, 2022 · 5 comments
Closed

[Feature Request] Firecracker for Mac OS #2845

jayavanth opened this issue Jan 10, 2022 · 5 comments
Assignees

Comments

@jayavanth
Copy link

Feature Request

It will enable development on Macs. You don't have to spin up a VM on a Mac to run firecracker. Macs are also getting very powerful with the new chips and a there is lot of potential especially for future Mac Pro Racks with M1 chips.

Describe the desired solution

Running firecracker on Mac Hypervisor. This is the clean solution where Firecracker would just run on Hypervisor instead of Linux KVM.

Describe possible alternatives

An alternate solution is to use a standalone VM on Mac such as Qemu, virtualbox, VMWare. But none of these are officially supported at the moment. Official support for a VM would be a good alternative.

Additional context

Checks

  • [Yes, checked slack as well ] Have you searched the Firecracker Issues database for similar requests?
  • [Yes] Have you read all the existing relevant Firecracker documentation?
  • [Yes ] Have you read and understood Firecracker's core tenets?
@alsrdn
Copy link

alsrdn commented Jan 25, 2022

Can you please describe your use-case a bit more? We're interested in what kind of deployment and features this support will provide. Also what kind of workloads will Firecracker on MacOS run?

@tatodorov
Copy link

One use case what comes to my mind is for running containers on Mac in lightweight virtual machines.
Currently the most feature rich way for that is Docker Desktop for Mac.
However, this is a closed source commercial product.
An alternatives like Podman and Lima already exist, but they rely on qemu.
Docker Desktop for Mac leverages hyperkit, but the open source version seems is not yet supported on M1 Mac - #330.

@JonathanWoollett-Light
Copy link
Contributor

We do not plan to support MacOS. Firecracker is highly dependent on KVM. To change this would require significant effort required and we do not currently see a significant use case.

@JonathanWoollett-Light JonathanWoollett-Light closed this as not planned Won't fix, can't repro, duplicate, stale Apr 11, 2023
@sorenbs
Copy link

sorenbs commented Nov 4, 2024

With MacOS 15 introducing support for Nested Virtualization, is it feasible to run Firecracker in a linux VM on MacOS?

@pb8o
Copy link
Contributor

pb8o commented Nov 7, 2024

Hi @sorenbs, it may be possible to run Firecracker as you describe, using a linux VM guest and if KVM works in the guest, then launching Firecracker. We haven't tried this though. There may be issues related to the CPU, since we have only tested Firecracker in AWS Graviton instances.

Let us know of your experience if you try it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants