Live data from Hacker News

How fast is a macOS VM, and how small could it be?

eclecticlight.co

71–80 of 111 posts

Re: How fast is a macOS VM, and how small could it be?

#72

My only experience with VMs on macOS is colima+docker, and it's relatively painful and inefficient (but usable).

Try Apple's container CLI. I moved a project of mine from colima+docker to it relatively easily, a couple of weekends ago. https://github.com/apple/container

Does this project aim for docker cli and api compatibility? Searching for Docker on that page yields no results. Though in their example, they do show an example of a Dockerfile referencing docker.io without shame.

Typical Apple behavior, I guess, but grating to see in a OSS tool.

Re: How fast is a macOS VM, and how small could it be?

#73
post #72

Earlier quoted context omitted.

Try Apple's container CLI. I moved a project of mine from colima+docker to it relatively easily, a couple of weekends ago. https://github.com/apple/container

Does this project aim for docker cli and api compatibility? Searching for Docker on that page yields no results. Though in their example, they do show an example of a Dockerfile referencing docker.io without shame. Typical Apple behavior, I guess, but grating to see in a OSS tool.

[deleted]

Re: How fast is a macOS VM, and how small could it be?

#75
post #70
post #60

Earlier quoted context omitted.

It's not really that interesting in the landscapes of OSes; modern (or even ancient) Windows and Linux distros have been doing these tasks simultaneously in one form or fashion since 16GiB was seen as a lot of RAM. See my other post for just a tiny amount of references to OOTB faulty apps.

My experience along with thousands others (incl 100 other Macs at work) is that of stability. You're saying the opposite based on some Reddit threads. Not sure what your intentions are. Yes, modern OS's might have issues in runtime, but of the top 3, I am pretty sure macOS is the most stable. Linux wins on the server side though.

I'm happy for your personal experience; it clearly doesn't jive with the numerous threads on the macos reddit forum for first and third party apps causing OOM issues (which macOS ungracefully handles, unlike NT).

> Not sure what your intentions are.

This is just a weird statement.

> Yes, modern OS's might have issues in runtime

/All/ modern general purpose OSes have issues at runtime. Every last one of them. macOS isn't without it's significant UX and other faults. It's OK to acknowledge them; this isn't a religion.

Re: How fast is a macOS VM, and how small could it be?

#76

Is is possible to run macos on pc? Or at least dev in some way on PC for the mac.

You can boot into macOS with QEMU, but you won't have hardware-accelerated graphics or a handful of other features.

Which features? Apple Pay?

Re: How fast is a macOS VM, and how small could it be?

#77

My only experience with VMs on macOS is colima+docker, and it's relatively painful and inefficient (but usable).

Try Apple's container CLI. I moved a project of mine from colima+docker to it relatively easily, a couple of weekends ago. https://github.com/apple/container

I'm curious to know what kind of project is macOS exclusive?

Re: How fast is a macOS VM, and how small could it be?

#78

My only experience with VMs on macOS is colima+docker, and it's relatively painful and inefficient (but usable).

OrbStack is pretty good. I don't find it inefficient, really.

OrbStack is impressive on the performance and energy efficiency fronts. I'm not aware of anything that comes close. But they're doing something funky under the covers. You can't just start any OS in a VM. It has to be somehow mangled to suit their VM. Thankfully NixOS is available so I'm fine for my use cases. It's still remarkable how efficient it is.

Re: How fast is a macOS VM, and how small could it be?

#79

Earlier quoted context omitted.

OrbStack is pretty good. I don't find it inefficient, really.

OrbStack is impressive on the performance and energy efficiency fronts. I'm not aware of anything that comes close. But they're doing something funky under the covers. You can't just start any OS in a VM. It has to be somehow mangled to suit their VM. Thankfully NixOS is available so I'm fine for my use cases. It's still remarkable how efficient it is.

Yeah, it's like WSL. It starts just one VM and then your individual "machines" are LXC containers underneath. If you peek at the vendor-supplied file your NixOS OrbStack Machine includes you can see some of it.

They're constantly doing other optimizations in other ways, too. But that's the one you were pointing at, I think.

Re: How fast is a macOS VM, and how small could it be?

#80

My only experience with VMs on macOS is colima+docker, and it's relatively painful and inefficient (but usable).

Try Apple's container CLI. I moved a project of mine from colima+docker to it relatively easily, a couple of weekends ago. https://github.com/apple/container

container is really good, ive been using it to sandbox some CLI tools and it starts up in less than a second
Post reply on HN