by gok on 6/9/25, 8:53 PM with 409 comments
by commandersaki on 6/9/25, 10:41 PM
Looks like each container gets its own lightweight Linux VM.
Can take it for a spin by downloading the container tool from here: https://github.com/apple/container/releases (needs macOS 26)
by sangeeth96 on 6/9/25, 10:22 PM
by candiddevmike on 6/9/25, 9:43 PM
by pxc on 6/10/25, 12:06 AM
> Contributions to `container` are welcomed and encouraged. Please see our main contributing guide for more information.
This is quite unusual for Apple, isn't it? WebKit was basically a hostile fork of KHTML, Darwin has been basically been something they throw parts of over the wall every now and then, etc.
I hope this and other projects Apple has recently put up on GitHub see fruitful collaboration from user-developers.
I'm a F/OSS guy at heart who has reluctantly become a daily Mac user due to corporate constraints that preclude Linux. Over the past couple of years, Apple Silicon has convinced me to use an Apple computer as my main laptop at home (nowadays more comparable, Linux-friendly alternatives seem closer now than when I got my personal MacBook, and I'm still excited for them). This kind of thing seems like a positive change that lets me feel less conflicted.
Anyway, success here could perhaps be part of a virtuous cycle of increasing community collaboration in the way Apple engages with open-source. I imagine a lot of developers, like me, would both personally benefit from this and respect Apple for it.
by spockz on 6/10/25, 3:06 AM
This project had its own kernel, but it also seems to be able to use the firecracker one. I wonder what the advantages are. Even smaller? Making use of some apple silicon properties?
Has anyone tried it already and is it fast? Compared to podman on Linux or Docker Desktop for Mac?
by julik on 6/10/25, 2:44 PM
by sitole on 6/10/25, 12:47 AM
Apple’s docs say nested virtualization is only available on M3-class Macs and newer (VZGenericPlatformConfiguration.isNestedVirtualizationSupported) developer.apple.com, but I don’t see an obvious flag in the container tooling to enable it. Would love to hear if anyone’s managed to get KVM (or even qemu-kvm) running inside one of these VMs.
by sho_hn on 6/9/25, 11:16 PM
You can make some kind of argument from this that Linux has won; certainly the Linux syscall API is now perhaps the most ubiquitous application API.
by roberttod on 6/9/25, 10:58 PM
by paxys on 6/9/25, 11:41 PM
by SamuelAdams on 6/10/25, 1:53 AM
Could games be run inside a virtual Linux environment, rather than Apple’s Metal or similar tool?
This would also help game developers - now they only need to build for Windows, Linux, and consoles.
by solomatov on 6/9/25, 10:09 PM
by jbverschoor on 6/9/25, 10:13 PM
They have Xcode cloud.
The $4B contract with Amazon ends, and it’s highly profitable.
Build a container, deploy on Apple, perhaps with access to their CPU’s
by newman314 on 6/9/25, 9:13 PM
by pmarreck on 6/10/25, 2:48 PM
by qalmakka on 6/10/25, 9:30 AM
by outcoldman on 6/9/25, 9:32 PM
by cedws on 6/10/25, 3:25 AM
by rfoo on 6/9/25, 9:17 PM
by filleokus on 6/9/25, 10:10 PM
I wonder what the memory overhead is, especially if running multiple containers - as that would spin up multiple VM's.
[0]: https://developer.apple.com/videos/play/wwdc2025/346 10:10 and forwards
by dang on 6/10/25, 4:08 AM
Container: Apple's Linux-Container Runtime - https://news.ycombinator.com/item?id=44229239 - June 2025 (11 comments)
Apple announces Foundation Models and Containerization frameworks, etc - https://news.ycombinator.com/item?id=44226978 - June 2025 (345 comments)
(Normally we'd merge them but it seems there are significant if subtle differences)
by miovoid on 6/10/25, 2:58 AM
by omeid2 on 6/10/25, 7:36 AM
Many developers I know don't use MacOS mainly because they depend on containers and virtualisation is slow, but if Apple can pull off efficient virtualisation and good system integration (port mapping, volumes), then it will eat away at a large share of linux systems.
by sampton on 6/9/25, 10:25 PM
by mustache_kimono on 6/10/25, 4:33 AM
But is it also finally time to fix dtrace on MacOS[0]?
[0]: https://developer.apple.com/forums/thread/735939?answerId=76...
by mattclarkdotnet on 6/10/25, 3:26 AM
It’s some nice tooling wrapped around lightweight VMs, so basically WSL2
by m3kw9 on 6/10/25, 12:17 AM
by joshdavham on 6/9/25, 10:53 PM
by arianvanp on 6/10/25, 9:23 PM
by sneak on 6/9/25, 10:01 PM
by fralix on 6/10/25, 2:10 PM
by xmorse on 6/10/25, 5:20 PM
by peterpost2 on 6/10/25, 7:16 AM
by pmarreck on 6/10/25, 2:50 PM
by sirjaz on 6/10/25, 6:46 PM
by jamie0 on 6/9/25, 9:59 PM
by IshKebab on 6/9/25, 9:43 PM
by justinzollars on 6/9/25, 9:45 PM
by throwaway1482 on 6/10/25, 3:05 PM
by tgma on 6/10/25, 3:57 AM
by m463 on 6/9/25, 11:48 PM
by bdcravens on 6/9/25, 11:16 PM
by rvz on 6/9/25, 9:13 PM
> You need an Apple silicon Mac to build and run Containerization.
> To build the Containerization package, your system needs either:
> macOS 15 or newer and Xcode 26 Beta
> macOS 26 Beta 1 or newer
Those on Intel Macs, this is your last chance to switch to Apple Silicon, (Sequoia was the second last)[0] as macOS Tahoe is the last version to support Intel Macs.