-
Notifications
You must be signed in to change notification settings - Fork 77
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
Windows support #17
Comments
There is. I have not found time to work on it recently. |
This comment was marked as off-topic.
This comment was marked as off-topic.
@NilsIrl have you considered looking into @.jart's Cosmopolitan libc project, which allows for compiling a binary which functions across Linux and Windows platforms, as part of making this single-executable scheme work for Windows? https://github.com/jart/cosmopolitan |
@jwoglom I have looked at Cosmopolitan libc. It would not be suitable for dockerc, at least not for the docker runtime. To make it work on windows would involve starting a small linux kernel and then run the conatiner inside of it. |
Could it work with Windows docker images? |
Maybe, but that is not what I currently envision |
what needs to happen to do this? I am looking for mac and win support. |
The main issue right now is that I don't want to have to allocate memory upfront for the VM so we'll need dynamic memory allocation. Unfortunately QEMU does not support this as far as I can tell and I haven't found anything that does. It is possible, orbstack does it: https://orbstack.dev/blog/dynamic-memory |
This is called memory ballooning. Some links (for future reference, I have not looked at them in incredibly careful detail):
|
Also contrary to what I was previously thinking we might want to use libvirt instead of QEMU. My understanding is that libvirt is a wrapper around QEMU (among others) and provides a better API. Also it seems like it's at this layer that where we'll have the best control over memory allocation: https://libvirt.org/kbase/memorydevices.html |
Is there a plan to support windows? About what time?
The text was updated successfully, but these errors were encountered: