Live data from Hacker News

macOS in QEMU in Docker

github.com

41–50 of 190 posts

Re: macOS in QEMU in Docker

#41
post #20
post #16

It's hard to see what Docker is adding here since qemu is being run inside Docker. You could get almost identical functionality out of a bare VM image and not deal with the hassles of docker.

It's a hammer problem. Docker is the new hammer and now everything starts to look like nails.

I often wonder what it is that perpetuates hammer problems. When I look at a problem, all technologies are options. If I'm doing the work, I'll obviously try to choose from those I'm more familiar with or choose what seems like the best established/mature hammer.

It often seems like someone wants to use a specific hammer and tries to tailor/turn/reshape problems into nails. Some of it may be resume driven development, perhaps choosing comfortable technologies, etc. Perhaps hammers are the only tools they're familiar with and risk aversion in business leads us to only use our hammers.

Something is amiss because I keep seeing hammer problems and it never seems to stop.

Re: macOS in QEMU in Docker

#42

So this is pretty misleading. It's really a full system emulator (qemu) running inside Docker, using root privileges on the container that make the isolation very weak (--privileged). It also uses hardware assisted virtualization (KVM) which is not going to be available most of the time Docker is. You can think of the Docker platform itself as subset of the Linux platform. With many common features removed by default…

its using docker as an artifact delivery mechanism, not as an isolationism mechanism.

Honestly that's kind of yikes. That probably just adds extra complexity, and there are better ways to deliver VMs.

Re: macOS in QEMU in Docker

#43

Earlier quoted context omitted.

Well the title: "A full system emulator (qemu) running inside Docker, using root privileges on the container that make the isolation very weak" would be a bit to long for HN, what do you think?

We are a bunch of pedantic nerds here though. How about "macOS in QEMU in Docker"?

That would not be as clickbaity! Why would you do that?

Re: macOS in QEMU in Docker

#45

I just want a good CI/CD system for macOS to build iOS apps without needing to buy a farm of Mac Minis, or even buy a Mac, is that too much to ask?

According to Apple software license agreements, yes, it is too much to ask. You can not legally run Mac OS on non-Apple hardware. But don't be sad, their new Mac Pro is fantastic .

Attach an Apple USB keyboard to your ESXi host and you’re good to go.

Re: macOS in QEMU in Docker

#46

Earlier quoted context omitted.

According to Apple software license agreements, yes, it is too much to ask. You can not legally run Mac OS on non-Apple hardware. But don't be sad, their new Mac Pro is fantastic .

It's also £5,499.00 in the UK (just under $7k USD). Not exactly ideal for hobbyists.

I considered including a price tag (... and comes for only $6990 ), but decided against it for being too thick. I also think that using /s markers kinda kills the idea of sarcasm.

Re: macOS in QEMU in Docker

#47

So this is pretty misleading. It's really a full system emulator (qemu) running inside Docker, using root privileges on the container that make the isolation very weak (--privileged). It also uses hardware assisted virtualization (KVM) which is not going to be available most of the time Docker is. You can think of the Docker platform itself as subset of the Linux platform. With many common features removed by default…

I think "docker" is an ambiguous term nowadays.

Depending on your point of view, it could denote a container, or source control, or a sort of makefile.

To me it is a reproducible recipe in 43 lines of Dockerfile text.

Re: macOS in QEMU in Docker

#48

Earlier quoted context omitted.

It's also £5,499.00 in the UK (just under $7k USD). Not exactly ideal for hobbyists.

I considered including a price tag (... and comes for only $6990 ), but decided against it for being too thick. I also think that using /s markers kinda kills the idea of sarcasm.

Poe's law is especially strong with Apple, /s is definitely needed unless you go over the top with praising the price.

Re: macOS in QEMU in Docker

#50
post #20
post #16

It's hard to see what Docker is adding here since qemu is being run inside Docker. You could get almost identical functionality out of a bare VM image and not deal with the hassles of docker.

It's a hammer problem. Docker is the new hammer and now everything starts to look like nails.

[deleted]
Post reply on HN