Run macOS in a Docker Container

31 pointsposted 8 months ago
by fultonb

19 Comments

diffeomorphism

8 months 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

8 months ago

But, why?

schainks

8 months ago

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

pjmlp

8 months 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

8 months 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

8 months 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

8 months 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

joseda-hg

8 months 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

8 months ago

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

user

8 months ago

[deleted]

tiagod

8 months ago

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

pjmlp

8 months ago

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

tiagod

8 months 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

8 months ago

Test on Safari for one?