Containerization is a Swift package for running Linux containers on macOS
769 points by gok 1 month ago | 409 comments- commandersaki 1 month agoVideo about it here: https://developer.apple.com/videos/play/wwdc2025/346/
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)
- OJFord 1 month agoThe submission is about https://github.com/apple/containerization, not https://github.com/apple/container.
The former is for apps to ship with container sidecars (and cooler news IMO); the latter is 'I am a developer and I want to `docker run ...`'.
(Oh, and container has a submission here: https://news.ycombinator.com/item?id=44229239)
- badc0ffee 1 month agoThe former is the framework enabling Linux containers on lightweight VMs and the latter is a tool using that framework.
- badc0ffee 1 month ago
- WhyNotHugo 1 month ago> Looks like each container gets its own lightweight Linux VM.
That sounds pretty heavyweight. A project with 12 containers will run 12 kernels instead of 1?
Curious to see metrics on this approach.
- haiku2077 1 month agoThis is the approach used by Kata Containers/Firecracker. It's not much heavier than the shared kernel approach, but has significantly better security. An bug in the container runtime doesn't immediately break the separation between containers.
The performance overhead of the VM is minimal, the main tradeoffs is container startup time.
- Yeroc 1 month agoI wonder why Apple cared so much about the security aspect to take the isolated VM approach versus shared VM approach. Seems unlikely that Apple hardware is going to be used to host containerized applications in production where this would be more of a concern. On the other hand, it's more likely to be used for development purposes where the memory overhead could be a bigger concern.
- surajrmal 1 month agoRam overhead can be nontrivial. Each kernel has its own page cache.
- 1 month ago
- Yeroc 1 month ago
- arijun 1 month agoIs that not the premise of docker?
- rtkwe 1 month agoNo it's the opposite, the entire premise of Docker over VMs is that you run one instance of all the OS stuff that's shared so it takes less resources than a VM and the portable images are smaller because they don't contain the OS image.
- WhyNotHugo 1 month agoNope, docker uses the host's kernel, so there are zero additional kernels.
On non-Linux, you obviously need an additional kernel running (the Linux kernel). In this case, there are N additional kernels running.
- detaro 1 month agono.
- rtkwe 1 month ago
- AdamN 1 month agoI could imagine one Linux kernel running in a VM (on top of MacOS) and then containers inside that host OS. So 1 base instance (MacOS), 1 hypervisor (Linux L0), 12 containers (using that L0 kernel).
- haiku2077 1 month agoThat's how Docker Desktop for Mac works. With Apples approach you have 12 VMs with 12 Linux kernels.
- haiku2077 1 month ago
- haiku2077 1 month ago
- paxys 1 month agoAlso works on macOS 15, but they mentioned that some networking features will be limited.
- philips 1 month agoShoutout to Michael Crosby, the person in this video, who was instrumental in getting Open Containers (https://opencontainers.org) to v1.0. He was a steady and calm force through a very rocky process.
- discohead 1 month ago"A new report from Protocol today details that Apple has gone on a cloud computing hiring spree over the last few months... Michael Crosby, one of a handful of ex-Docker engineers to join Apple this year. Michael is who we can thank for containers as they exist today. He was the powerhouse engineer behind all of it, said a former colleague who asked to remain anonymous."
- musicale 4 weeks agoWe can thank the linux kernel developers for implementing namespaces and overlayfs.
And we can thank predecessor systems like BSD jails, Solaris zones, as well as Virtuozzo/openVZ and lxc as previous container systems on linux.
Docker's main improvements over lxc, as I understand it, were adding a layered, immutable image format (vs. repurposing existing VM image formats) and a "free" public image repository.
But the userspace implementation isn't exactly rocket science, which is why we periodically see HN posts of tiny systems that can run docker images.
- musicale 4 weeks ago
- discohead 1 month ago
- solarexplorer 1 month agoI would assume that "lightweight" in this case means that they share a single Linux kernel. Or that there is an emulation layer that maps the Linux Kernel API to macOS. In any case, I don't think that they are running a Linux kernel per container.
- ylk 1 month agoYou don’t have to assume, the docs in the repo tell you that it does run a Linux kernel in each VM. It’s one container per VM.
- solarexplorer 1 month agoGood call, thanks for clarifying!
- solarexplorer 1 month ago
- commandersaki 1 month ago"Lightweight" in the sense that the VM contains one static executable that runs the container, and not a full fledged Ubuntu VM (e.g. Colima).
- 1 month ago
- ylk 1 month ago
- selkin 1 month agoIt seems to work on macOS 15 as well, with some limitations[0].
[0] https://github.com/apple/container/blob/main/docs/technical-...
- zmmmmm 1 month agointeresting choice - doesn't that then mean that container to container integration is going to be harder and a lot of overhead per-container? I would have thought a shared VM made more sense. I wonder what attracted them to this.
- pxc 1 month agoIt seems great from a security perspective, and a little bit nice from a networking perspective.
- selimnairb 1 month agoThe "one IP per container" approach (instead of shared IPs) is similar to how kubernetes pods work.
- mickdarling 1 month agoI can see the decision to do it this way being related to their private secure cloud infrastructure for AI tools.
- selimnairb 1 month ago
- JoBrad 1 month agoI like the security aspect. Maybe DNS works, and you can use that for communication between containers?
- pxc 1 month ago
- honkycat 1 month ago> Looks like each container gets its own lightweight Linux VM.
We're through the looking glass here, people
- musicale 4 weeks ago"Containers" now apparently means "boot a docker image as an ephemeral VM."
Which isn't such a bad idea really.
- musicale 4 weeks ago
- zoobab 1 month ago"Looks like each container gets its own lightweight Linux VM."
Not a container "as such" then.
How hard is it to emulate linux system calls?
- teruakohatu 1 month ago> How hard is it to emulate linux system calls?
It’s doable but a lot more effort. Microsoft did it with WSL1 and abandoned it with WSL2.
- tsimionescu 1 month agoNote that they didn't "do it" for WSL1, they started doing it, realized it is far too much work to cover eveything, and abandoned the approach in favor of VMs. It's not like WSL1 was a fully functioning Linux emulator on top of Windows, it was still very far from it, even though it could do many common tasks.
- tsimionescu 1 month ago
- NexRebular 1 month ago> How hard is it to emulate linux system calls?
FreeBSD has linuxulator and illumos comes with lx-zones that allow running some native linux binaries inside a "container". No idea why Apple didn't go for similar option.
- citrin_ru 1 month agoFreeBSD Linux emulation is being developed for 20 (may be even 30) years. While Apple can throw some $$$ to get it implemented in a couple years using virtualisation requires much less development time (so it’s cheaper).
- rcleveng 1 month agoApple's already got the Virtualization framework and hypervisor already (https://developer.apple.com/documentation/virtualization), so adding the rest of the container ecosystem seems like a natural next step.
It puts them on par with Windows that has container support with a free option, plus I imagine it's a good way to pressure test swift as a language to make sure it really can be the systems programming language they are betting that it can and will be.
OrbStack has a great UX and experience, so I imagine this will eat into Docker Desktop on Mac more than OrbStack.
- masklinn 1 month agoBecause that‘s a huge investment for something they have no reason or desire to productivize.
- citrin_ru 1 month ago
- surajrmal 1 month agosyscalls are just a fraction of the surface area. There are many files in many different vfs you need to implement, things like selinux and ebpf, iouring, etc. It's also a constantly shifting target. The VM API is much simpler, relatively stable, and already implemented.
Emulating Linux only makes sense on devices with constrained resources.
- throwaway1482 1 month ago> How hard is it to emulate linux system calls?
Just replace the XNU kernel with Linux already.
- teruakohatu 1 month ago
- OJFord 1 month ago
- sangeeth96 1 month agoThe CLI from the press release/WWDC session is at https://github.com/apple/container which I think is what many like myself would be interested in. I was hoping this'd be shipped with the newest Xcode Beta but that doesn't seem to be the case. Prebuilt packages are missing at the moment but they are working on it: https://github.com/apple/container/issues/54
- n2d4 1 month agoSeems prebuilt packages were released exactly one minute after your comment: https://github.com/apple/container/releases/tag/0.1.0
- sangeeth96 1 month agoBeat me to it, thanks!
- sangeeth96 1 month ago
- OJFord 1 month agoDiscussed at https://news.ycombinator.com/item?id=44229239
- n2d4 1 month ago
- candiddevmike 1 month agoWonder how Docker feels about this. I'd assume a decent amount of Docker for Desktop is on Mac...
- paxys 1 month agoWell it makes developing Docker Desktop infinitely easier for them, since they no longer need to start their own Linux VM under the hood. I think the software is "sticky" enough that people will still prefer to use Docker Desktop for the familiar CLI and UX, Docker Compose, and all the Docker-specific quirks that make migrating to a different container runtime basically impossible.
- pxc 1 month agoDocker Desktop on Windows uses WSL to provide the Docker daemon, doesn't it? So Docker Desktop has a history of leaning into OS offerings for virtualizing Linux like this where they can.
- cosmotic 1 month agoDocker desktop on macos uses the Apple virtualization framework to run a Linux VM these days.
- cosmotic 1 month ago
- prmoustache 1 month agoI never used docker desktop and am struggling to understand what you are supposed to be doing with a gui in a docker/container context.
- stackskipton 1 month agoGUI lets you look at logs quickly, there is buttons to click quickly open http://localhost:<port>, stop and start containers, get shell in container and bunch of other stuff that people developing or testing against containers need locally.
- arjonagelhout 1 month agoFor me, Docker Desktop is simply an easy way to launch the Docker daemon and inspect some created images and their corresponding logs. Other than that, the cli suffices.
- dajtxx 1 month agoThe problem (as far as I can tell) is that for Windows and MacOS you can't install the docker daemon etc without installing Desktop.
I have a Mac for work and containers are a pain. I've tried Podman, UTM, colima, Docker Desktop etc and it all boils down to the same thing - run a linux VM and have the command line utils cooperate with the VM to run the containers.
It comes down to which solution has the least friction and irritations and Docker might still win there.
My current setup is UTM running a debian VM which I share my source directory with and ssh into to run docker. This is simpler for my brain to understand because the linux VM isn't a hidden component I forget to manage.
But it's not obvious how to mount the shared directory and I'm constantly running into networking problems - currently I cannot connect as myself and must sudo ssh for it to work. A reboot (of the Mac) used to fix it, but no longer does. I've given up trying to fix it and just sudo.
- pxc 1 month agoImo, the GUI isn't really the most important part of things like Docker Desktop.
The nice part is that they (a) set up the Linux VM that runs the Docker daemon for you and (b) handle the socket forwarding magic that lets you communicate with it "directly" by running the Docker client on the host OS. This is likewise true for Podman Desktop, Rancher Desktop, etc.
The GUI is icing on the cake, imo.
- bdcravens 1 month agoVery few use the GUI for things other than configuring Docker engine settings like memory, etc.
- stackskipton 1 month ago
- coredog64 1 month agoUnless this provides an extremely compatible Docker socket implementation, this is the answer. When Docker changed the licensing for Docker Desktop, my previous employer made it harder to get permission. However, there were a few tools that were in common usage, and once you mentioned that you used them, you got your permission.
Some progress has been made to create a non-Docker implementation that integrates with all those random tools that expect to be able to yeet bytes into or out of the Docker socket, but I still hit blockers the last time I tried.
- pxc 1 month ago
- n2d4 1 month agoThis doesn't compete with Docker for Desktop, as more low-level than that.
Docker for Desktop sits on-top of container/virtualization software (Hypervisor.framework and QEMU on Mac, WSL on Windows, containerd on Linux). So there's a good chance that future versions of Docker for Desktop will use this library, but they don't really compete with each other.
- cogman10 1 month agoProbably about the same way they feel about podman.
- baby_souffle 1 month agoI guess it'll depend on whether or not this starts shipping by default with newacOS installs.
If it doesn't, then it's still a toss-up whether or not user chooses docker/podman/this...etc.
If it ends up shipping by default and is largely compatible with the same command line flags and socket API... Then docker has a problem.
For what it's worth, I prefer podman but even on Linux where the differentiators should be close to zero, I still find certain things that only docker does.
- Kwpolska 1 month agoPodman is fairly niche. This is an Apple product that Apple developer circles will push hard.
- hocuspocus 1 month agoAlternatives to Docker Desktop aren't niche at all since Docker started charging money.
My org's management wasn't taking the issue seriously, but once the subscription cost reached one FTE's salary, they started listening to people who had already switched to Podman, Rancher or (Co)Lima.
- cogman10 1 month agoI agree, Apple has a lot of weight. Podman, however, also has a fair bit of heft behind it (IBM via Redhat).
I'll not deny that it's a bit niche, but not so much so that it's completely unknown.
- xp84 1 month agoI apologize if this sounds like a hot take, but "Apple developer circles," as in, people who use XCode at all and care about any part of Apple's toolchain[0], is a very small number of people compared to "All developers who happen to code on Macs." In my experience at least, the typical developer who uses macOS codes in VSCode on JS, Python, etc., groans when some file association accidentally launches XCode, and would likely prefer to use normal Docker like the do on their Linux servers, rather than proprietary Darwin weirdness.
"Apple developer circles" to me means the few mostly indies who build non-electron Mac apps and non-ReactNative ios apps, but those developers mostly are writing client code and don't even touch servers.
All this said, my above "gut feelings" don't explain why Apple would have bothered spending their time making this when Orbstack, Docker, etc. already meet the needs of the developers on Mac who actually need and use containers.
[0]: besides the "Command line tools" that allow compilation to work, of course.
- jeroenhd 1 month agoPodman is the easy go-to for companies that don't like how Docker Desktop requires a license.
I'm sure Apple will try to push their own version of Docker but I'm not sure if they'll be able to win over any Docker Desktop businesses unless their tool also works on other operating systems.
- hocuspocus 1 month ago
- baby_souffle 1 month ago
- sneak 1 month agoDocker Desktop is closed source proprietary software and this is free software, so this is a win (for us, at least).
- blinded 1 month agoAlso the second they started charging podman dev picked up and that has gotten real good.
- 1 month ago
- paxys 1 month ago
- pxc 1 month agoThis is the most surprising and interesting part, imo:
> 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.
- boxed 1 month ago> WebKit was basically a hostile fork of KHTML
Chromiom is a hostile fork of WebKit. Webkit was a rather polite fork of KHTML, just that they had a team of full time programmers so KHTML couldn't keep up with the upstream requests and gave up since WebKit did a better job anyway.
I personally would LOVE if a corporation did this to any of my open source projects.
- todotask2 1 month agoAnd the creator of KHTML is now part of WebKit team at Apple.
Even KDE eventually dropped KHTML in favor of KHTML’s own successor, WebKit-based engines (like QtWebKit and later Qt WebEngine based on Chromium).
A web engine isn’t just software — it needs to keep evolving.
Recognising the value of someone’s work is better than ignoring it and trying to build everything from scratch on your own, Microsoft's Internet Explorer did not last.
- bigyabai 1 month agoBlink is the hostile fork of WebKit. And you would not like if any corporations did this to your Open Source project; on HN alone I see a small army's worth of people who bitch about websites built for Chrome but not Safari. That's how Konquerer users felt back when Apple didn't collaborate downstream, so turnabout is truly fair play.
- kergonath 1 month ago> That's how Konquerer users felt back when Apple didn't collaborate downstream, so turnabout is truly fair play.
You are rewriting history here. The main KHTML developers were hired by Apple and Konqueror got on with the new engine. There was no fuss and no drama.
The reason why it’s fair play is that the license allows it. Google is no white knight out to avenge the poor KHTML users from 2003.
- boxed 1 month ago> And you would not like if any corporations did this to your Open Source project; on HN alone I see a small army's worth of people who bitch about websites built for Chrome but not Safari.
Those are unrelated things.
- kergonath 1 month ago
- todotask2 1 month ago
- holycrapwhodat 1 month ago> WebKit was basically a hostile fork of KHTML...
WebKit has been a fully proper open source project - with open bug tracker, patch review, commit history, etc - since 2005.
Swift has been a similarly open project since 2015.
Timeline-wise, a new high profile open source effort in 2025 checks out.
- jen20 1 month agoFoundationDB is a fully proper open source project since 2018…
- jen20 1 month ago
- willtemperley 1 month agoI find Apple to be very collaborative on OSS - I hacked up a feature I needed in swift-protobuf and over a couple of weeks two Apple engineers and one Google engineer spent a significant amount of time reviewing and helping me out. It was a good result and a great learning experience.
- gigatexal 1 month agoI too am more of a reluctant convert to Mac from Linux. It really does just work most of the time for me in the work context. It allows me to get my job done and not worry because it’s the most supported platform at the office. Shrug. But also the hardware is really really really nice.
I do have a personal MacBook pro that I maxed out (https://gigatexal.blog/pages/new-laptop/new-laptop.html) but I do miss tinkering with my i3 setup and trying out new distos etc. I might get a used thinkpad just for this.
But yeah my Mac personal or work laptop just works and as I get older that’s what I care about more.
Going to try out this container binary from them. Looks interesting.
- roughly 1 month agoIf you’re looking for a hobby computer, Framework’s laptops are a lot of fun. There’s something about a machine that’s so intentionally designed to be opened up and tinkered with - it’s not my daily driver, but it’s my go to for silly projects now.
- roughly 1 month ago
- zapzupnz 1 month agoIt's not that surprising. Much of Swift and its frameworks are contributed by the open source community.
- pxc 1 month agoThat's true, but I always thought of Swift as exceptional in this because Swift is a programming language, and this has become the norm for programming languages in my lifetime.
If my biases are already outdated, I'm happy to learn that. Either way, my hopes are the same. :)
- samtheprogram 1 month agoJai has been one exception I can think of here. It hasn’t been publicly released yet, either (you can email/request pre-release access, though)
- samtheprogram 1 month ago
- pxc 1 month ago
- noufalibrahim 1 month agoApple has a lot of good stuff out there doesn't it? Aren't llvm and cups theirs more or less?
- kergonath 1 month agoThey gave up on CUPS, which was left in limbo for way too long. Now it’s been forked, but I don’t know how successful that fork is.
They took over LLVM by hiring Chris Lattner. It was still a significant investment and they keep pouring resources into it for a long while before it got really widespread adoption. And yes, that project is still going.
- merb 1 month agoTbf if you look at all the printer drivers out there. You know why they dropped it. PPD is also not a good standard. I mean it would not be too bad, but what printer developers do to make their shitty printers work… (like adding binary command filters and stuff, binary tray mgmt extensions…) xerox for one example ships really strange drivers. Most of the time I use their windows ppd and strip the binary stuff.
- Squarex 1 month agocups seems to be properly maintained now https://github.com/openprinting/cups
- merb 1 month ago
- compiler-guy 1 month agoApple is heavily involved in llvm, but so are a several other companies. Most prominently Google, which contributes a huge amount, and much of testing infrastructure. But also Sony and SiFive and others as well.
It’s all very corporate, but also widely distributed and widely owned.
- kergonath 1 month ago
- overfeed 1 month ago> I'm a F/OSS guy at heart who has reluctantly become a daily Mac user due to corporate constraints that preclude Linux
I suspect this move was designed to stop losing people like you to WSL.
- guztaver 1 month agoAs a long-time Linux user, I can confidently say that the experience of using a M1 Pro is significantly superior to WSL on Windows!
I can happily use my Mac as my primary machine without much hassle, just like I would often do with WSL.
- mikepurvis 1 month agoI'm in that camp— I was an Intel Mac user for a decade across three different laptops, and switched to WSL about six years ago. Haven't strongly considered returning.
- ma5ter 1 month ago> I suspect this move was designed to stop losing people like you to WSL.
I am also thinking the same, Docker desktop experience was not that great at least on Intel Macs
- guztaver 1 month ago
- 1 month ago
- nhumrich 1 month agoSince this is touching Linux, and Linux is copy left, they _have_ to do this.
- mirashii 1 month agoIn addition to the other comments about the fact that this wasn't forced to adopt the GPL, even if it were, there's nothing in the license that forces you to work with the community to take contributions from the public. You can have an entirely closed development process, take no feedback, accept no patches, and release no source code until specifically asked to do so.
They don't have to do literally any of this.
- pxc 1 month agoRight! The exciting thing is the approach, not the license.
- pxc 1 month ago
- n2d4 1 month agoTouching Linux would not be enough. It would have to be a derivative work, which this is (probably?) not.
Besides, I think OP wasn't talking about licenses; Apple has a lot of software under FOSS licenses. But usually, with their open-source projects, they reject most incoming contributions and don't really foster a community for them.
- TimTheTinker 1 month ago> derivative work
Or distributing builds of something that statically links to it. (Which some would argue creates a derivative work.)
- TimTheTinker 1 month ago
- pxc 1 month agoIf the license of this project were determined by obligations to the Linux kernel, it would be GPLv2, not Apache License 2.0!
- Aurornis 1 month agoThe comment was about them welcoming contributions, not making it open source.
- mirashii 1 month ago
- boxed 1 month ago
- spockz 1 month agoAt first I thought this sounded like a blend of the virtualisation framework with a firecracker style lightweight kernel.
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?
- rfoo 1 month agoThe advantage is, now there's an Apple team working on it. They will be bothered by their own bugs and hopefully get them fixed.
Virtualization.framework and co was buggy af when introduced and even after a few major macOS versions there are still lots of annoyances, for example the one documented in "Limitations on macOS 15" of this project, or half-assed memory ballooning support.
Hypervisor.framework on the other hand, is mostly okay, but then you need to write a lot more codes. Hypervisor.framework is equivalent to KVM and Virtualization.framework is equivalent to qemu.
- rfoo 1 month ago
- julik 1 month agoReally curious how this improves the filesystem bridging situation (which with Docker Desktop was basically bouncing from "bad" to "worse" and back over the years). Or whether it changes it at all.
- torginus 1 month agoI'm just taking a wild guess here, but I'd guess it's not a problem - WSL2 works afaik by having a native ext4 partition, and the Windows kernel accesses it. Intra-OS file perf is great, but using Windows to access Linux files is slow.
MacOS just understands ext4 directly, and should be able to read/write it with no performance penalty.
- dwaite 1 month agoI would imagine it is low lift - using https://developer.apple.com/documentation/virtualization/sha... which is already built into the OS
- merb 1 month agoIf they wanted to improve the situation they would’ve needed to ship an apfs driver and a Linux kernel. Sadly they didn’t.
- wmf 1 month agoAFPS isn't the solution since you can't have two kernels accessing the same FS. The solution is probably something like virtio-fs with DAX.
- wmf 1 month ago
- benwaffle 1 month agoI wonder how it compares to orbstack
- torginus 1 month ago
- sitole 1 month agoHas anyone tried turning on nested virt yet? Since the new container CLI spins each container in its own lightweight Linux VM via Virtualization.framework, I’m wondering whether the framework will pass the virtualization extensions through so we can modprobe kvm inside the guest.
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.
- sho_hn 1 month agoSo both of the other big two desktop OSs now have official mechanisms to run Linux VMs to host Linux-native applications.
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.
- sangeeth96 1 month ago> Linux has won
Needing two of the most famous non-Linux operating systems for the layman to sanely develop programs for Linux systems is not particularly a victory if you look at it from that perspective. Just highlights the piss-poor state of Linux desktop even after all these years. For the average person, it's still terrible on every front and something I still have a hard time recommending when things so often go belly up.
Before you jump on me, every year, I install the latest Fedora/Ubuntu (supposedly the noob-friendly recommendations) on a relatively modern PC/Laptop and not once have I stopped and thought "huh, this is actually pretty usable and stable".
- omnimus 1 month agoI am ux designer and forever Mac user. I also try Fedora on random stuff. I am not sure why but last time tried it i got Blender circa 10 years ago vibes from desktop linux gnome.
Everybody has been making fun of Blender forever but they consistently made things better step by step and suddenly few UX enhancements the wind started shift. It completely flipped and now everybody is using it.
I wouldn’t be surprised if desktop Linux days are still ahead. It’s not only Valve and gaming. Many things seems start to work in tandem. Wayland, Pipewire, Flatpack, atomic distros… hey even Gnome is starting to look pretty.
- robertlagrant 1 month agoIt definitely could happen, but there are two things standing in the way of it:
- there's not one desktop Linux that everyone uses (or even uses by default), and it's not resolving any time soon
- I use Ubuntu+Gnome by default, and I wouldn't say it looks great at all, other than the nice Ubuntu desktop background, and the large pretty sidebar icons
- open source needs UX people to make their stuff look professional. I'm looking at you, LibreOffice
- newdee 1 month agoAtomic distros (fedora’s specifically) are what got me to stick to desktop Linux. That was after seeing how well the Steam Deck worked, and therefore Proton. I haven’t reinstalled in almost 2 years. Not even got the distro itch once.
- akie 1 month agoI've been hearing that for 20 years though...
- robertlagrant 1 month ago
- jeroenhd 1 month agoThe problem with the Linux desktop isn't usability, it's the lack of corporate control software. Without corporate MDM and antivirus, you'll find it rather annoying to get a native Linux desktop in many companies.
For Windows and MacOS you can throw a few quick bucks over the wall and tick a whole bunch of ISO checkboxes. For Linux, you need more bespoke software customized to your specific needs, and that requires more work. Sure, the mindless checkboxes add nothing to whatever compliance you're actually trying to achieve, but in the end the auditor is coming over with a list of checkboxes that determine whether you pass or not.
I haven't had a Linux system collapse on me for years now thanks to Flatpak and all the other tools that remove the need for scarcely maintained external repositories in my package manager. I find Windows to be an incredible drag to install compared to any other operating system, though. Setup takes forever, updates take even longer, there's a pretty much mandatory cloud login now, and the desktop looks like a KDE distro tweaked to hell (in a bad way).
Gnome's "who needs a start button when there's one on the keyboard" approach may take some getting used to, but Valve's SteamOS shows that if you prevent users from mucking about with the system internals because gary0x136 on Arch Forums said you need to remove all editors but vi, you end up with a pretty stable system.
- kstrauser 1 month agoIn defense of MDM, those checkboxes aren’t even entirely useless. It’s so nice being able to demonstrate that every laptop in the company has an encrypted hard drive, which you should be doing anyway. It turns a lost or stolen laptop from a major situation to a minor financial loss and inconvenience.
Yes, a lot of MDM feature are just there to check ISOwhatever boxes. Some are legitimately great, though. And yes, even though I’m personally totally comfortable running a Linux laptop, come SOC2 audit time it’s way harder to prove that a bunch of Linux boxes meet required controls when you can’t just screenshot the Jamf admin page and call it good.
- kstrauser 1 month ago
- sho_hn 1 month agoI'd say that's a fairly web development-centric take. I work at an embedded shop that happily puts a few million cars running Linux on the road every year, and we have hundreds of devs mainly running Linux to develop for Linux.
- sangeeth96 1 month agoThe average person is not dishing out software that runs on millions of cars from the average PC/laptop they got off the shelves from their bestbuy equivalent. I’d say the same for the average developer. I’d also guess if given a choice and unless there are technical limitations that prevent it from being so, even the devs in your shop would rather prefer to switch to a usable daily driver OS to get things done.
The desktop marketshare stats back me up on the earlier point and last I checked, no distro got anywhere close?
Sure, Android is the exception (if we agree to consider) but until we get serious dev going there and until Android morphs into a full-fledged desktop OS, my point stands.
- sangeeth96 1 month ago
- jeppester 1 month ago> Before you jump on me, every year, I install the latest Fedora/Ubuntu (supposedly the noob-friendly recommendations) on a relatively modern PC/Laptop and not once have I stopped and thought "huh, this is actually pretty usable and stable".
Funnily enough that's how I feel every time I use Windows or Mac. Yet I'm not bold enough to call them "piss poor". I'm pretty sure I - mostly - feel like that because they are different from what I'm used to.
- nsagent 1 month agoAs someone who grew up running Microsoft OSes, starting with DOS, then Windows and who has used a Mac laptop since the Windows Vista days, my perspective on the usability of Linux Desktop is unrelated to it simply being "different from what I'm used to."
Transitioning from Windows to Mac was much more of an adjustment than Linux Desktop. It's just that Linux has too many rough edges. While it's possible I've simply been unlucky, everytime I've tried Linux it's been small niggling issue after small niggling issue that I have to work around and it feels like a death of a thousand paper cuts. (BTW I first tried Linux desktop back in the late 90s and most recently used it as my main work laptop for 9 months this past year.)
Note, I'm more than happy to use Linux as a server. I run Linux servers at home and have for decades. But the desktop environments I've tried have all been irksome.
Note that I'm not mentioning particular distros or desktop environments because I've tried various over the years.
- nsagent 1 month ago
- graemep 1 month ago> Just highlights the piss-poor state of Linux desktop even after all these years.
What exactly is wrong with it? I prefer KDE to either Windows or MacOS. Obviously a Linux desktop is not going to be identical to whatever you use so there is a learning curve, but the same is true, and to a much greater extent, for moving from Windows to MacOS.
> layman to sanely develop programs for Linux systems
> or the average person
The "layman" or "average person" does not develop software.
The average person has plenty of problems dealing with Windows. They are just used to putting up with being unable to get things to work. Ran into that (a multi-function printer/scanner not working fully) with someone just yesterday.
If you find it hard to adjust to a Linux desktop you should not be developing software (at any rate not developing software that matters to anyone).
I have switched a lot of people to Linux (my late dad, my ex-wife, my daughter's primary school principal) who preferred it to Windows and my kids grew up using it. No problems.
- sangeeth96 1 month ago> What exactly is wrong with it? I prefer KDE to either Windows or MacOS.
KDE is my choice as well (Xfce #2) if I have to be stuck with a Linux distro for a long period but I'd rather not put myself in that position because it's still going to be a nightmare. My most recent install from this year of Kubuntu/KDE Fedora had strange bugs where applications froze and quitting them were more painful than macOS/Windows, or that software updates through their app store thingy end up in some weird state that won't reset no matter how many times I reboot, hard crashes and so on on a relatively modern PC (5900X, RTX 3080, 32G RAM). I had to figure out the commands to force reset/clean up things surrounding the package management in order to continue to install/update packages. This is the kind of thing I never face with Silicon macs or even Windows 10/11.
This is a dealbreaker for the vast majority of people but let's come to your more interesting take:
> If you find it hard to adjust to a Linux desktop you should not be developing software
And that sums up the vast majority of Linux users who still think every other year is the year of "Linux desktop". It's that deeply ignorant attitude instead of acknowledging all these years of clusterfuck after clusterfuck of GUIs, desktop envs, underlying tech changes (Xorg, Wayland) and myriads of confusing package distribution choices (debs, rpms, snaps, flatpaks, appimages and so on), that no sane person is ever going to embrace a Linux distro as their daily driver.
You need a reality reset if you think getting used to Linux is a qualifier to making great software.
- regularfry 1 month agoIf you're just kicking the tyres on Fedora or Ubuntu, you're not getting KDE. I love it myself, but I know it's there. The average curious person is going to get whatever Gnome thinks they deserve at that point in time.
- afavour 1 month ago> If you find it hard to adjust to a Linux desktop you should not be developing software
For most it’s not a case of whether you can do it, it’s whether it’s worth doing it. For me Linux lacks the killer feature that makes any of that adjustment worth my (frankly, valuable) time. That’s doubly so for any of us that develop user facing software: our users aren’t going to be on Linux so we need to have a more mainstream OS to hand for testing anyway.
- sangeeth96 1 month ago
- Cthulhu_ 1 month agoLinux has not won on the desktop and probably never will, granted. But linux has won for running server-side / headless software, and has done so for years.
That said, counterpoint to my own, Android is Linux and has billions of installations, and SteamOS is Linux. I think the next logical step for SteamOS is desktop PCs, since (anecdotally) gaming PCs only really play games and use a browser or web-tech-based software like Discord. If that does happen, it'll be a huge boost to Linux on the consumer desktop.
- bigstrat2003 1 month ago> not once have I stopped and thought "huh, this is actually pretty usable and stable".
I think we need to have a specific audience in mind when saying whether or not it's stable. My Arch desktop (user: me) is actually really stable, despite the reputation. I have something that goes sideways maybe once a year or so, and it's a fairly easy fix for me when that does happen. But despite that, I would never give my non-techy parents an Arch desktop. Different users can have different ideas of stable.
- cromka 1 month agoMy problem with Arch 12 years ago was exactly the fact that things would just randomly stop working and I often wouldn’t know until I needed it. What drew the line for me was when I needed to open a USB pendrive and it wouldn’t mount — if I remember correctly something related to udisk at the time and a race condition. I spent like 30 minutes looking into it and it was just embarrassing as I had someone over my shoulder waiting for those files.
This is when I gave up and switched to Apple. I am now moving back to Linux but Arch still seems like it’s too hacky and too little structured organizationally to be considered trustworthy. So, Ubuntu or Debian it is, but fully haven’t decided yet.
Still, I would be happy to be convinced otherwise. I’m particularly surprised Steam uses it for their OS.
- cromka 1 month ago
- vbezhenar 1 month agoI'm not going to jump on you, but for me Linux is much more friendly than Windows or macOS. I tried to use macOS, just because their Apple silicone computers are so powerful, but in the end I abandoned it and switched back to Thinkpad with Linux. Windows is outright unusable and macOS is barely usable for me, while Linux just works.
- heavyset_go 1 month agoIn my experience, Linux is great for the type of user who would be well-suited with a Chromebook. Stick a browser, office suite and Zoom on it, and enable automatic updates, and they'll be good to go.
- cosmic_cheese 1 month agoLinux is great for users on the extreme ends of the spectrum, with grandma who only needs email on one end and tiling WM terminal juggler on the other. Where it gets muddy is for everybody in the middle.
That’s not to say it can’t or doesn’t work for some people in the middle, but for this group it’s much more likely that there’s some kind of fly in the soup that’s preventing them from switching.
It’s where I’m at. I keep secondary/tertiary Linux boxes around and stay roughly apprised of the state of the Linux desktop but I don’t think I could ever use it as my “daily driver” unless I wrote my own desktop environment because nothing out there checks all of the right boxes.
- cosmic_cheese 1 month ago
- qudat 1 month agoFOSS OS dev is slow but is built on cross collaboration so the foundation is strong. Corporate OS has the means to tune to end user usage and can move very fast when business interests align with user experience.
When you are a DE that’s embedded in FOSS no one has an appetite to fund user experience the same way as corporate OS can.
We do have examples where this can work, like with the steam deck/steamOS but it’s almost counter to market incentives because of how slow dev can become.
I see the same problem with chat and protocol adoption. IRC as a protocol is too slow for companies who want to move fast and provide excellent UX, so they ditch cross collaboration in order to move fast.
- ladyanita22 1 month agoThe moment I read "Needing two of the most famous non-Linux operating systems for the layman to sanely develop programs for Linux systems" I knew this comment would be a big pile of unfactual backed opinions.
- xd1936 1 month agoFedora/Debian + AMD ThinkPad here. Haven't had any crashes or instability in 5+ years.
- sfpotter 1 month agoTerrible on every front? I'm sorry, but it's hard to take this seriously. I've been daily driving Fedora with Cinnamon for the past 4 years and it works just fine. I use Mac and Windows on a regular basis and both are chock full of AI bloatware and random BS. On the same hardware, Linux absolutely runs circles around Windows 10 and Windows 11. If the application you need to use doesn't run on Linux; well, OK... not much you can do about that. But to promote that grievance to "terrible on every front" is ridiculous.
- MantisShrimp90 1 month agoMeh, you're making the same mistake most do on this one. You're treating the Linux desktop like it's compatible even though these two non-linux operating systems are made by some of the biggest companies ever with allot of engineering hours paid to lock people in.
Plus, one could argue they've actually just established dominance through market lockin by ensuring the culture never had a chance and making operating system moves hard for the normal person.
But more importantly if we instead consider the context that this is largely a collection of small utilities made by volunteers vs huge companies with paid engineering teams, one should be amazed at how comparable they are at all.
- 1 month ago
- Lio 1 month agoI disagree. The only feature I miss on Linux is the ctrl-scroll to zoom feature of macOS.
If Gnome implemented that as well as macOS does I’d happily switch permanently.
- esskay 1 month agoThe only feature? Like across the entire OS? Pretty broad. If you were right then adoption would be orders of magnitude higher.
- esskay 1 month ago
- omnimus 1 month ago
- pjmlp 1 month agoOn the server room yes, but only in the sense UNIX has won, and Linux is the cheapest way to acquire UNIX, with the BSDs sadly looking from their little corner.
However on embedded, and desktop, the market belongs to others, like Zehyr, NutXX, Arduino, VxWorks, INTEGRITY,... and naturally Apple, Google and Microsoft offerings.
Also Linux is an implementation detail on serverless/lambda deployments, only relevant to infrastructure teams.
- inopinatus 1 month agoBSD has nothing to feel mournful about. Its derivatives are frequently found in the data center, but largely unremarked because it’s under the black box of storage and network appliances.
And it’s in incredible numbers - hundreds of millions of units - of game consoles.
The BSD family isn’t taking a bow in public, that’s all.
- pjmlp 1 month agoOrbis OS has very little of FreeBSD, if that is what you mean.
And outside NetFlix, there aren't many big shots talking about it nowadays.
- pjmlp 1 month ago
- 1 month ago
- inopinatus 1 month ago
- aljgz 1 month agoWell. It can also be argued that the other two platforms are finding ways to allow using Linux without leaving those platforms, which slows down market share of Linux on desktop as the primary OS.
- selcuka 1 month ago> which slows down market share of Linux on desktop as the primary OS
I think what slows down market share of Linux on desktop is Linux on desktop itself.
I use Linux, and I understand that it's a very hard job to take it to the level of Windows or macOS, but it is what it is.
- heavyset_go 1 month agoIt makes Linux the common denominator between all platforms, which could potentially mean that it gets adopted as a base platform API like POSIX is/was.
More software gets developed for that base Linux platform API, which makes releasing Linux-native software easier/practically free, which in turn makes desktop Linux an even more viable daily driver platform because you can run the same apps you use on macOS or Windows.
- pjmlp 1 month agoAs someone that was once upon a time a FOSS zealot with M$ on email signature and all, the only reason I care about Linux on the desktop is exactly Docker containers, everything else I use the native platform software.
Eventually I got practical and fed up with ways of Linux Desktop.
- pjmlp 1 month ago
- selcuka 1 month ago
- inopinatus 1 month agoThat isn’t exactly new, the hypervisor underneath has been in macOS for years, but poorly exploited. It’s gained a few features but what’s really substantial today are the (much) enhanced ergonomics on top.
- sho_hn 1 month agoI know, but they've invested some effort into e.g. a custom Linux kernel config and vminitd+RPC for this, so the optimizations specific to running containerized Linux apps are new.
- sho_hn 1 month ago
- flmontpetit 1 month agoFascinating to me how Windows and Linux have cross-pollinated each other through things like WSL and Proton. Platform convergence might become a thing within our lifetimes.
- sbarre 1 month agoI made a "long bet" with a friend about a decade ago that by 2030 'Microsoft Windows' would just be a proprietary window manager running on Linux (similar - in broad strokes - to the MacOS model that has Darwin under the hood).
I don't think I'll make my 2030 date at this point but there might be some version of Windows like this at some point.
I also recognize that Windows' need to remain backwards compatible might prevent this, unless there's a Rosetta-style emulation layer to handle all the Win32 APIs etc..
- flmontpetit 1 month agoI think Microsoft will let Windows slowly die over the years. I am certain that at the strategy level, they have already accepted that their time as a device platform vendor will not last. Windows will be on life support for a while, as MS slowly corrals its massive client base onto its SaaS platforms, before it becomes a relic of the past. Beyond that point, the historical x86 PC-compatible platform lineage will either die with it, or be fully overtaken by Desktop Linux whereupon it will slowly lose ground to non-x86 proprietary platforms over the years.
The average end user will be using some sort of Tivoized device, which will be running a closed-source fork of an open-source kernel, with state-of-the-art trusted computing modules making sure nobody can run any binaries that weren't digitally signed and distributed through an "app store" owned by the device vendor and from which they get something like a 25% cut of all sales.
In other words, everything will be a PlayStation, and Microsoft will be selling their SaaS services to enterprise users through those. That is my prediction.
- flmontpetit 1 month ago
- sbarre 1 month ago
- jeroenhd 1 month agoLinux has already won, in the form of Android and to an extent ChromeOS. Many people just don't recognize it as such because most of the system isn't the X11/Wayland desktop stack the "normal" Linux distros use.
Hell, Samsung is delivering Linux to the masses in the form of Wayland + PulseAudio under the brand name "Tizen". Unlike desktop land, Tizen has been all-in on Wayland since 2013 and it's been doing fine.
- pjmlp 1 month agoGoogle could replace Linux kernel with something else and no one would notice, other than OEMs and people rooting their devices.
Likewise with ChromeOS.
They are Pyrrhic victories.
As for Tizen, interesting that Samsung hasn't yet completely lost interest on it.
- gf000 1 month agoAh yeah, isn't that the definition of something you don't directly depend on? Of course they "could just replace the OS", I can also just write a new web browser and use it to browse the web as it's supposedly a standard.
Except neither will support even a fraction of the originals' capabilities, at much worse performance and millions of incompatibilities at every corner.
- steeleduncan 1 month ago> Google could replace Linux kernel with something else and no one would notice, other than OEMs and people rooting their devices.
This would be better phrased If Google could replace Linux kernel with something else noone would notice,
Google have spent a decade trying to replace the Linux with something else (Fuschia), and don't seem to have gotten anywhere
- gf000 1 month ago
- v5v3 1 month agoHarmonyOS has it's own non Linux Kernel so Linux now has a major competitor that will be present in a huge number of devices.
- pjmlp 1 month ago
- tannhaeuser 1 month ago"It" (aka the cloud providers) has won in the foobar POSIX department such that only a full Linux VM can run your idiosyncractic web apps despite or actually because of hundreds of package managers and dependency resolution and late binding mechanisms, yes.
- duped 1 month agoExcept for graphics, audio, and GUIs for which no good solutions exist
- heavyset_go 1 month agoI'd consider revisiting this. These days you can do studio level video production, graphics and pro audio on Linux using native commercial software from a bare install on modern distributions.
I do pro audio on Linux, my commercial DAWs, VSTs, etc are all Linux-native these days. I don't have to think about anything sound-wise because Pipewire handles it all automatically. IMO, Linux has arrived when it comes to this niche recently, five years ago I'd have to fuck around with JACK, install/compile a realtime kernel and wouldn't have as many DAWs & VSTs available.
Similarly, I have a friend in video production and VFX whose studio uses Linux everywhere. Blender, DaVinci Resolve, etc make that easy.
There is a lack of options when it comes to pro illustration and raster graphics. The Adobe suite reigns supreme there.
- wwweston 1 month agoCan you tell me more about the audio work you’re doing (sound design? instrument tracking? mixing? mastering? god help you live sound?) and the distro and applications you use?
I am more amateur/hobbyist than pro, but this is the primary reason I’m on macOS and I wouldn’t mind reasons to try Linux again (Ubuntu Studio ~8 years ago was my last foray).
- stebian_dable 1 month agoAffinity suite has decent Wine community support by the way for raster / vector graphics.
- wwweston 1 month ago
- heavyset_go 1 month ago
- paxys 1 month agoIs it winning if you are the only one playing the game?
Brag about this to an average Windows or Mac user and they will go "huh?" and "what is Linux?"
- sho_hn 1 month ago> Is it winning if you are the only one playing the game?
Depending on what you mean with "the game", I'd say even more so.
MS/Apple used to villify or ridicule Linux, now they need to distribute it to make their own product whole, because it turns out having an Open Source general purpose OS is so convenient and useful it's been utilized in lots of interesting ways - containers, for example - that the proprietary OS implementations simply weren't available for. I'd say it's a remarkable development.
- yjftsjthsd-h 1 month agoBy that logic, this feature and WSL shouldn't exist.
- paxys 1 month agoThey exist because linux server developers would rather use windows or mac as their primary desktop OS rather than linux. That's not a flex for linux desktop. Quite the opposite.
- paxys 1 month ago
- sho_hn 1 month ago
- OJFord 1 month ago'Linux with macOS.'
- 1 month ago
- bakztfutur3 1 month ago[flagged]
- sangeeth96 1 month ago
- roberttod 1 month agoI need to look into this a little more, but can anyone tell me if this could be used to bundle a Linux container into a MacOS app? I can think of a couple of places that might be useful, for example giving a GPT access to a Linux environment without it having access to run root CLI commands.
- paxys 1 month agoThinking more about this a bit, one immediate issue I see with adoption is that the idea of launching each container in its own VM to fully isolate it and give it its own IP, while neat, doesn't really translate to Linux or Windows. This means if you have a team of developers and a single one of them doesn't have a mac, your local dev model is already broken. So I can't see a way to easily replace Docker/Compose with this.
- dontdoxxme 1 month agoIt translates exactly to Kubernetes though, except without the concept of pods, I don't see anything in this that would stop them adding pods on top later, which would allow Kubernetes or compose like setups (multiple containers in the same pod).
- dontdoxxme 1 month ago
- SamuelAdams 1 month agoI wonder if this will dramatically improve gaming on a Mac? Valve has been making games more reliable due to Steam Deck, and gaming on Linux is getting better every year.
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.
- pxc 1 month agoApple's Virtualization Framework doesn't support 3D acceleration for non-macOS guests.
- throwaway127482 1 month agoIsn't the Linux gaming stuff really an emulator for Windows games? So it'd be like, windows emulation inside Linux virtualization inside macos?
- lxgr 1 month agoAs far as I understand, it's a modified/extended version of Wine, which, as the name suggests, is not an emulator (but rather a userspace reimplementation of the Windows API, including a layer that translates DirectX to OpenGL/Vulkan).
The reverse, i.e. running Linux binaries on Windows or macOS, is not easily possible without virtualization, since Linux uses direct syscalls instead of always going through a dynamically linked static library that can take care of compatibility in the way that Wine does. (At the very least, it requires kernel support, like WSL1; Wine is all userspace.)
- lxgr 1 month ago
- izacus 1 month agoNo, and with sunset of Rosetta, they'll kill off many of the few games that fun on macOS.
- golf1052 1 month agoAccording to reporting Rosetta will still be supported for old games that rely on Intel code
> But after that, Rosetta will be pared back and will only be available to a limited subset of apps—specifically, older games that rely on Intel-specific libraries but are no longer being actively maintained by their developers. Devs who want their apps to continue running on macOS after that will need to transition to either Apple Silicon-native apps or universal apps that run on either architecture.
https://arstechnica.com/gadgets/2025/06/apple-details-the-en...
- izacus 1 month agoOh, that's good news.
- izacus 1 month ago
- golf1052 1 month ago
- wmf 1 month agoWindows games already run on macOS via WINE. Using a VM would just add overhead not reduce it.
- october8140 1 month agoI imagine running in a VM would hurt performance a lot.
- lxgr 1 month agoNot necessarily. For example, the Xbox 360 runs every game in a hypervisor, so technically, everything is running in a VM.
It's all a question of using the right/performant hardware interfaces, e.g. IOMMU-based direct hardware access rather than going through software emulation for performance-critical devices.
- lxgr 1 month ago
- pxc 1 month ago
- solomatov 1 month agoDoes anyone know whether they have optimized memory management, i.e. virt machine not consuming more RAM than required?
- dontdoxxme 1 month ago
- nasretdinov 1 month agoFrom that document I read that it in fact does, but it doesn't release memory if app started consuming less. It does memory balooning though, so the VM only consumes as much RAM as the maximum amount requested by the app
- nasretdinov 1 month ago
- dontdoxxme 1 month ago
- jbverschoor 1 month agoIn my opinion this is a step towards the Apple cloud hosting.
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
- paxys 1 month agoIt's quite a stretch to go from Apple launching container support for macOS to "they are going to compete with AWS". Especially considering Apple's own server workloads and data storage are mostly on GCP.
- n2d4 1 month agoIt's still virtualization, so it'll necessarily be (slightly) slower than just running Linux natively. I don't think Apple's hardware makes up for that, certainly not at the price point at which they sell it.
- jbverschoor 1 month agoCompared to EC2? You've got to be kidding me.
- jbverschoor 1 month ago
- slroger 1 month agoYeah that would be great. I dont understand why they dont explore this option
- paxys 1 month ago
- newman314 1 month agoI wonder how this will affect apps like Orbstack
- SparkyMcUnicorn 1 month agoMy guess is that Orbstack might switch to using this, and it'll just be a more competitive space with better open source options popping up.
People still want the nice UI/UX, and this is just a Swift package.
- jbverschoor 1 month agoOrbstack also does kubernetes etc
- jbverschoor 1 month ago
- 9dev 1 month agoHuh. I suppose it’s a good thing I never came around to migrating our team from docker desktop to Orbstack, even though it seems like they pioneered a lot of the Apple implementation perks…
- xp84 1 month agoI still haven't heard why anyone would prefer the new Apple-proprietary thing vs Orbstack. I would not hold my breath on it being better.
- zshrc 1 month agoWild because "Apple proprietary" is on GitHub and Orbstack is closed source but go off I guess.
- jpgvm 1 month agoIt's the other way around, the Apple code is FOSS, Apache 2 to be specific.
Presumably it's not as good right now but where it ends up depends entirely on Apple's motivation. When they are determined they can build very good things.
- 9dev 1 month agoIf Apple is committed to containers on MacOS, it makes sense to use their implementation over a third party. They know their own platform more intimately, can push for required kernel changes internally if necessary, and will provide this feature free of charge since it's in their own interest to do so—as apparent from the fact the source is published on GitHub, under Apache.
As opposed to that, there's OrbStack, a venture-backed closed source application thriving off of user licenses, developed by a small team. As empathetic as I am with them, I know where I bet my money on in this race.
- st3fan 1 month agoHere here .. i prefer these new built-in tools. Who cares it is proprietary open source. It works with standard OCI containers. Goodbye Docker.app
- zshrc 1 month ago
- xp84 1 month ago
- bdcravens 1 month agoThey could replace their underlying implementations with this, and for most users, they wouldn't notice the difference, other than any performance gains.
- SparkyMcUnicorn 1 month ago
- pmarreck 1 month agoSo the x64 containers will run fine on Apple Silicon?
- dwaite 1 month agoOn a ARM linux target, they do support Rosetta 2 translation of intel binaries under virtualization using Rosetta 2. I do not know if their containerization supports it.
https://developer.apple.com/documentation/virtualization/run...
Given that they announced a timeline for sunsetting Rosetta 2, it may be low priority.
- pmarreck 1 month agox64 is not going away anytime soon, so that’s unfortunate
- pmarreck 1 month ago
- dwaite 1 month ago
- qalmakka 1 month agothat's nice and all - but where are the native Darwin containers? Why is it ok for Apple to continue squeezing people with macOS CI jobs to keep buying stupid Mac Minis to put in racks only to avoid a mess? Just pull FreeBSD jails!
- conradludgate 1 month agoYou can run macos VMs at the very least https://developer.apple.com/documentation/virtualization/run...
- qalmakka 4 weeks agoSure but they don't really scale due Apple's refusal to provide a headless version with WindowServer off
Also the EULA limits you to just two VMs per computer and only for very specific purposes. Clearly because they want you to buy their damn computers
- qalmakka 4 weeks ago
- egorfine 1 month agoThis is my pain point.
I would really want to have a macOS (not just Darwin) container, but it seems that it is not possible with macOS. I don't remember the specifics, but there was a discussion here at HN a couple of month ago and someone with intrinsic Darwin knowledge explained why.
- qalmakka 4 weeks ago> it's not possible
Heck even Microsoft managed to run Windows containers on Windows, even with the technical debt and bloat they had. Apple could, they just don't want to because it goes straight against their financial interests
- qalmakka 4 weeks ago
- conradludgate 1 month ago
- outcoldman 1 month agoNot sure what exactly is happening, but feels very slow. Builds are taking way longer. Tried to run builder with -c and -m to add more CPU and memory.
- tibbar 1 month agoWhat setup are you comparing this to? In the past silicon Macs plus, say, Rancher Desktop have been happy to pretend to build an x86 image for me, but those images have generally not actually worked for me on actual x86 hardware.
- outcoldman 1 month agoComparing to Docker for Mac. Running on MBA M2. Building a 5GB image (packaging enterprise software).
Docker for Mac builds it in 4 minutes.
container tool... 17 minutes. Maybe even more. And I did set the cpu and memory for the builder as well to higher number than defaults (similar what Docker for Mac is set for). And in reality it is not the build stage, but "=> exporting to oci image format" that takes forever.
Running containers - have not seen any issues yet.
- outcoldman 1 month ago
- tibbar 1 month ago
- cedws 1 month agoForget Linux containers on Mac, as far as I’m concerned that’s already a solved problem. What about Mac containers? We still don’t have a way to run a macOS app with its own process namespace/filesystem in 2025. And with all this AI stuff, there’s a need to minimise blast radius of a rogue app more than ever.
- hadlock 1 month agoIs there any demand for mac binaries in production? I can't think of a single major cloud provider that offers Mac hardware based k8s nor why you'd want to pay the premium over commodity hardware. Linux seems to be the lingua franca of containerized software distribution. Even windows support for containers is sketchy at best
- vineyardmike 1 month ago> I can't think of a single major cloud provider that offers Mac hardware based k8s nor why you'd want to pay the premium over commodity hardware
If you're a dev team that creates Mac/iOS/iPad/etc apps, you might want Mac hardware in your CI/CD stack. Cloud providers do offer virtual Macs for this purpose.
If you're a really big company (eg. a top-10 app, eg. Google) you might have many teams that push lots of apps or app updates. You might have a CI/CD workflow that needs to scale to a cluster of Macs.
Also, I'm pretty sure apple at least partially uses Apple hardware in the serving flow (eg. "Private Cloud Compute") and would have an interest in making this work.
Oh, and it'd be nice to be able to better sand-box untrusted software running on my personal dev machine.
- alwillis 1 month ago> uses Apple hardware in the serving flow (eg. "Private Cloud Compute")
Private Cloud Compute is different hardware: https://security.apple.com/blog/private-cloud-compute/
- alwillis 1 month ago
- jurip 1 month agoI don't think the parent was asking for server side macOS containerization, but desktop. It'd be nice to put something like Cursor in a sandbox where it really couldn't rm -rf your home directory. I'd love to do the same thing with every app that comes with an installer.
- hadlock 1 month agoI've had really poor experience doing anything with container deployed consumer apps in Linux. As soon as you even look at going out of the happy path, things immediately start going sideways.
- duped 1 month agoYou already can with `sandbox_exec`. And the entire entitlements design is there to force apps to have granular permissions.
- hadlock 1 month ago
- hamandcheese 1 month agoI think at one point (many years ago) I read that imgix.com was using macs for their image processing CDN nodes.
In my experience, the only use case for cloud macs is CI/CD (and boy does it suck to use macOS in the cloud).
- vineyardmike 1 month ago
- tgma 1 month agoMm... AppStore and Gatekeeper?
- hadlock 1 month ago
- rfoo 1 month agoThis does not support memory ballooning yet. But they have documented custom kernel support, so, goodbye OrbStack.
- worldsavior 1 month agoOrbstack is docker. People might still prefer docker.
- 1 month ago
- worldsavior 1 month ago
- filleokus 1 month agoLooks cool! In the short demo [0] they mention "within a few hundred milliseconds" as VM boot time (I assume?). I wonder how much tweaking they had to do, because this is using the Virtualization.framework, which has been around a while and used by Docker dekstop / Colima / UTM (as an option).
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
- open592 1 month agoThey include the kernel config here[0]
> Containers achieve sub-second start times using an optimized Linux kernel configuration[0] and a minimal root filesystem with a lightweight init system.
[0]: https://github.com/apple/containerization/blob/main/kernel/c...
- open592 1 month ago
- dang 1 month agoRelated ongoing threads:
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)
- miovoid 1 month agoI hope it will support nested virtualization.
- omeid2 1 month agoThis is really bad news for Linux on Desktop.
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.
- sampton 1 month agoApple please expose GPU cores to the VMs.
- emmelaich 1 month agoI've used pytorch successfully in a MacOS VM on MacOS using https://tart.run/ so I'd expect it to work here too.
- emmelaich 1 month agoupdate: torch for Linux on ARM isn't built with Apple's MPS support so it didn't work with the pip install version. Perhaps it's possible to compile from scratch to have it.
- emmelaich 1 month ago
- lisperforlife 1 month agoYou can use libkrun to pretty much do the same thing.
- emmelaich 1 month ago
- mustache_kimono 1 month agoThis is great. Also about time, etc.
But is it also finally time to fix dtrace on MacOS[0]?
[0]: https://developer.apple.com/forums/thread/735939?answerId=76...
- 1 month ago
- mattclarkdotnet 1 month agoSpoiler alert: it’s not containers.
It’s some nice tooling wrapped around lightweight VMs, so basically WSL2
- amazingman 1 month agoAre the lightweight VMs running containers?
- cromka 1 month agoWSL1, rather.
- amazingman 1 month ago
- m3kw9 1 month agoI’m already running docker on macOS what’s the difference?
- joshdavham 1 month agoWill this likely have any implications for tools like ‘act’ for running local GitHub actions? I’ve had some trouble running act on apple silicon in the past.
- OJFord 1 month agoIn theory could make it more seamless, so installation instructions didn't include 'you must have a functioning docker engine' etc. - but in practice I assume it's a platform-agnostic non-Swift tool that isn't interested in a macOS-specific framework to make it smoother on just one platform.
- OJFord 1 month ago
- arianvanp 1 month agoThem synthesizing an EXT4 file system from tarball layers instead of something like EROFS is so extremely odd. Really really strange design.
- sneak 1 month agoSurprising to me that this uses swift CLI tools (free software) and make, not Xcode.
- w10-1 1 month agoContainers are mainly for CI+testing and for Linux workflows, so xcodebuild is not really an option.
- detourdog 1 month agoXcode also has command line tools that can do the same.
- sneak 1 month agoObtaining and using Xcode requires submitting to an additional license contract from Apple. Swift and Make do not.
- detourdog 1 month agoAre you sure about that? I mean accepting license aggreements is pretty standard and doesn't bother me.
This guide seems to have no specific license agreement.
https://www.freecodecamp.org/news/install-xcode-command-line...
- detourdog 1 month ago
- sneak 1 month ago
- w10-1 1 month ago
- fralix 1 month agoAnd when native OCI macos container engine native ?!
- xmorse 1 month agoIs this basically the same thing as Orbstack?
- peterpost2 1 month agoTerrible name. Look like a neat product though!
- bravesoul2 1 month agoTailored Swift would be better
- badc0ffee 1 month agoTAYNE (short for conTAYNEr): https://www.youtube.com/watch?v=a8K6QUPmv8Q
- badc0ffee 1 month ago
- bravesoul2 1 month ago
- pmarreck 1 month agoPrefer the Nix approach unless a container approach is absolutely necessary.
- sirjaz 1 month agoThis is just wsl2 from Microsoft, albeit with an Apple spin
- jamie0 1 month agodisappointing theres still no namespacing in darwin for macos containers. would be great to run xcodebuild in a container
- 1 month ago
- ANGXL123 1 month ago[dead]
- 9d 1 month ago[flagged]
- alexjplant 1 month ago> Let's run linux inside a container inside docker inside macos inside an ec2 macos instance inside a aws internal linux host inside a windows pc inside the dreaming mind of a child.
Not even the first non-hyperbolic part of what you wrote is correct. "Container" most often refers to OS-level virtualization on Linux hosts using a combination of cgroups, resource groups, SDN, and some mount magic (among other things). MacOS is BSD-based and therefore doesn't support the first two things in that list. Apple can either write a compatibility shim that emulates this functionality or virtualize the Linux kernel to support it. They chose the latter. There is no Docker involved.
This is a completely sane and smart thing for them to do. Given the choice I'd still much rather run Linux but this brings macOS a step closer to parity with such.
- 9d 1 month agoTo be honest, I don't know what Docker or any of these things are. I just wanted to sound smart so I could fit in and people would like me.
- 9d 1 month ago
- alexjplant 1 month ago
- 1 month ago
- IshKebab 1 month agoGetting worried about WSL I see!
- SkepticalWhale 1 month agoWhenever I have to develop on Windows, I clone my repos and run neovim / docker inside of WSL, for the improved performance (versus copying / mounting files from windows host) and linux. The dev experience is actually pretty good once you get there.
I'm not sure this is the same, though. This feels more like docker for desktop running on a lightweight vm like Colima. Am I wrong?
- metaltyphoon 1 month agoThis is my same workflow even for C#
- metaltyphoon 1 month ago
- SkepticalWhale 1 month ago
- justinzollars 1 month agoI'm excited to run Systemd on mac!
- watersb 1 month ago:-)
It isn't systemd:
> Containers achieve sub-second start times using an optimized Linux kernel config, minroot filesystem, and a lightweight init system, vminitd
- trallnag 1 month agoWouldn't be surprised if this goes through the same process Windows users did with WSL. Starting out with no systemd, to community-developed systemd-in-a-bottle setups, to proper systemd integration
- trallnag 1 month ago
- TacticalCoder 1 month ago> I'm excited to run Systemd on mac!
OCI containers are supposed to be "one container, one PID": at the very least the container's server is PID1 (at times other processes may be spawned but typically the container's main process is going to be PID1).
Containerization is literally the antithesis of systemd.
So I don't understand your comment.
- watersb 1 month ago
- throwaway1482 1 month agoIf they're going this way, why not just replace the macOS kernel (XNU) with Linux? They'll get so much more.
- badc0ffee 1 month agoBecause the rest of the system uses a bunch of things that have no drop-in Linux equivalent - SIP, Mach ports, firmlinks, etc.
- throwaway1482 1 month agoThose can be emulated with the likes of SELinux, sockets, and bind mounts. It will take a lot of effort and some adaptation, but it could be done.
- throwaway1482 1 month ago
- badc0ffee 1 month ago
- tgma 1 month agoI'm glad this will kill the Docker Desktop clone business on Mac. Friend company got hit by using one of the free ones and got rug pulled by them.
- m463 1 month agoI think this is purely a checkbox feature to compare against wsl. Otherwise apple just wouldn't get involved (not engineers, who would do lots of good things, but management that let this out)
- bdcravens 1 month agoCool, but until someone (Apple or otherwise) implements Docker Compose on top of this, it's unlikely to see much use.
- conradludgate 1 month agoYou only need to expose a docker daemon, which docker compose will use. The daemon is just a unix socket to a process that manages the containers, which is very likely a trivial change on top of the existing container codebase.
For instance, Orbstack implements the docker daemon socket protocol, so despite not being docker, it still allows using docker compose where containers are created inside of Orbstack.
- conradludgate 1 month ago
- rvz 1 month agoRequires an Apple Silicon Mac to run.
> 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.
- haiku2077 1 month agoAlso, there are some really amazing deals on used/refurb M2 Macs out there. ~$700 for a Macbook Air is a pretty great value, if you can live with 16GB of RAM and a okay but not amazing screen.
- paxys 1 month ago$450 for a M4 Mac mini (at Microcenter, but Best Buy will price match) is possibly the best computer hardware deal out there. It is an incredible machine.
- xp84 1 month agoHaving run a Mac Mini with a 256GB internal drive for 2-3 years I will dispute that anyone should buy base models for that reason. MacOS makes it as painful as possible for you to use external drives. For instance, no software for "cloud" drives (google drive, onedrive, icloud drive) is allowed to locate its local copy on an "External" drive, so you can't keep your files locally and in the cloud, have to pick one. Photos can have its library moved at least.
I like the hardware, hate the absurd greedy storage and RAM prices.
- xp84 1 month ago
- xp84 1 month agoIndeed. I just grabbed a mint M3 MBA on ebay for about $950 with a 1TB ssd (which tbh was my main need to upgrade this family member in the first place, as they weren't CPU-bound on the old M1). Wild deals to be had!
- socalgal2 1 month agoa 30% discount for a 3 yr old machine is good? A new one is $999.
- DrBenCarson 1 month agoWhen the 3yo machine does 100% of what you need without missing a beat and has 8h screen-on battery life, yes, yes, it is
- DrBenCarson 1 month ago
- nicoburns 1 month agoEven better deals on M1s which aren't much slower than M2s
- paxys 1 month ago
- keysdev 1 month agoAny linux or bsd that has goodhardwawe support for intel mac?
- bjackman 1 month agoFor the older ones with Broadcom WiFi I was able to get stock Ubuntu working great by following this:
https://askubuntu.com/questions/55868/installing-broadcom-wi...
Not sure about the newer ones.
Gathering this information and putting together a distro to rescue old Macbooks from the e-waste bin would be a worthwhile project. As far as I can tell they're great hardware.
I imagine things get harder once you get into the USB-C era.
- monkey_monkey 1 month agoThis site is very useful for getting Linux on more recent Intel Macs - I was able to get Ubuntu running on a 2018 MBA
- monkey_monkey 1 month ago
- bjackman 1 month ago
- pjmlp 1 month agoThat was officially communicated at the state of the union session.
- haiku2077 1 month ago