Run macOS in a Docker Container

26 pointsposted 3 days ago
by fultonb

18 Comments

diffeomorphism

3 days ago

That does not seem to actually be "in a docker container"?

It is just using docker to run the VM software (qemu with kvm) and runs macOS in that VM.

It is conveniently packaged up, but the title is very, very misleading.

popalchemist

3 days ago

But, why?

schainks

3 days ago

A dockerized Mac OS lets you perform automated testing without paying for the hardware, which is what you usually have to do.

pjmlp

3 days ago

Which in the countries where EULA's have a legal value, it is considered a crime, as Mac OS can only be virtualised in Apple hardware.

joseda-hg

3 days ago

Creating a separate comment for this idea, but would virtualizing other versions of MacOS/iOS on say a Mac Mini so you can do multiple versions (And maybe iOS, by extension) and such in parallel would ostensibly be legal As long as you're running Asahi Linux as your Host OS

minhaz23

3 days ago

Can you expand on that? Why does it have to be a mac Mini? And why the asahi distro?

Sorry just genuinely curious and dont know myself

mdaniel

2 days ago

> Why does it have to be a mac Mini?

The mini is usually cost competitive as an entry Mac, and one doesn't need a fancy screen to drive up the price

> And why the asahi distro?

Well, in the context of this specific repo, one needs docker which needs Linux but generic Linux on Mac hardware can be iffy about having all the hardware working. I've never tried Asashi in order to speak to it but I believe that's one of their goals

user

2 days ago

[deleted]

joseda-hg

3 days ago

Honest question, what happens if you set up a VPS in a country where EULA's don't? You get all the benefits and none of the repercusion, yes?

pjmlp

3 days ago

That is up for a judge, and legal agreements between countries, to decide upon.

tiagod

3 days ago

Something being illegal doesn't always mean it's a crime.

pjmlp

3 days ago

That is exactly the definition, which you can happily discuss during a court hearing session.

tiagod

2 days ago

It's not, at least where I live (Portugal). For example, drinking and driving is a "contra-ordenação" up until 1.2g/L, where it becomes a crime. Same with many other things.

Possession and consumption of illegal drugs was also decriminalized, but it's still illegal (just not a crime).

Not all legal systems are the same.

Malidir

3 days ago

Test on Safari for one?