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

Windows support #17

Open
zsf513 opened this issue May 7, 2024 · 10 comments
Open

Windows support #17

zsf513 opened this issue May 7, 2024 · 10 comments

Comments

@zsf513
Copy link

zsf513 commented May 7, 2024

Is there a plan to support windows? About what time?

@NilsIrl
Copy link
Owner

NilsIrl commented May 19, 2024

There is. I have not found time to work on it recently.

@NilsIrl NilsIrl changed the title When will windows be supported? Windows support May 19, 2024
@Tinywan

This comment was marked as off-topic.

@jwoglom
Copy link

jwoglom commented Aug 6, 2024

@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

@NilsIrl
Copy link
Owner

NilsIrl commented Aug 6, 2024

@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.

@J0s3f
Copy link

J0s3f commented Aug 6, 2024

Could it work with Windows docker images?

@NilsIrl
Copy link
Owner

NilsIrl commented Aug 6, 2024

Could it work with Windows docker images?

Maybe, but that is not what I currently envision

@tluyben
Copy link

tluyben commented Oct 24, 2024

what needs to happen to do this? I am looking for mac and win support.

@NilsIrl
Copy link
Owner

NilsIrl commented Nov 29, 2024

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

@NilsIrl
Copy link
Owner

NilsIrl commented Nov 29, 2024

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

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

No branches or pull requests

6 participants