Live data from Hacker News

macOS Container Machines

github.com

1–10 of 457 posts

Re: macOS Container Machines

#2
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

Re: macOS Container Machines

#5
post #2

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

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

Re: macOS Container Machines

#6
post #2

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

Close - but it would be more like this:

  services:
    macos:
      image: dockurr/macos
      container_name: macos
      environment:
        VERSION: "15"
(And indecently slow.)

Re: macOS Container Machines

#8

Will this be able to replace docker desktop an equivalents, removing the expensive Linux VM that runs alongside them?

It mostly removes the big shared background VM and replaces it with smaller, more isolated Apple-native VMs.

I did an experiment migrating my Podman workload to Apple's container @ https://gist.github.com/jmonster/39e14585e107dbf990a90966c0f...

TL;DR reduces ram/storage usage; minimizes it's existence

Re: macOS Container Machines

#9
post #2

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

[deleted]
Post reply on HN