Remix.run Logo
m463 5 days ago

looks like apple wrote a native docker in swift

you can now run linux containers on your mac

... but it could be better.

what about (totally contrived):

  FROM apple/macos:10.11.6

  RUN xcodebuild -project myapp.xcodeproj -scheme MyScheme -configuration Release
webXL 5 days ago | parent | next [-]

Nice, but expect to page through a few pages of ToS during the build

m463 5 days ago | parent [-]

lol

  ENV XCODE_FRONTEND=unattended
  ENV XCODE_LICENSES=accept,firstborn,applepay,appleid=sjobs@me.com
trollbridge 5 days ago | parent | prev | next [-]

Close - but it would be more like this:

  services:
    macos:
      image: dockurr/macos
      container_name: macos
      environment:
        VERSION: "15"
(And indecently slow.)
egorfine 5 days ago | parent | prev | next [-]

> FROM apple/macos:10.11.6

Yeah I was working on that, created a prototype. I don't see a business in it, so abandoned.

windowliker 5 days ago | parent | prev | next [-]

It would be wonderful if this ran on older versions of macOS, but according to the README they only support 26.

m463 5 days ago | parent [-]

you do not understand... Not run on, run IN :)

I'm saying the older version of macos could build/run INSIDE the container

just like on a ubuntu 24.04 system you can do:

  FROM ubuntu:16.04
or

  docker run ubuntu:16.04 
and though I haven't tried it, I believe docker can do arm in x86 using an emulator (like rosetta)
MBCook 5 days ago | parent | next [-]

You can already run older versions of macOS inside a VM on macOS.

So it seems like in theory that should be doable if someone just made the container images right?

windowliker 5 days ago | parent | prev [-]

Oh right. I don't see Apple having any interest in supporting that given their current trajectory.

5 days ago | parent | prev | next [-]
[deleted]
jadar 5 days ago | parent | prev [-]

i wish!