Run macOS in a Docker Container

31 pointsposted a year ago
by fultonb

19 Comments

diffeomorphism

a year 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

a year ago

But, why?

schainks

a year ago

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

pjmlp

a year 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

a year 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

a year 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

a year 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

a year 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

a year ago

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

user

a year ago

[deleted]

tiagod

a year ago

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

pjmlp

a year ago

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

tiagod

a year 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

a year ago

Test on Safari for one?