News for hackers. Stuff that matters.
Re:Apple M3 Ultra by kstrauser on Wednesday March 05, 2025 @10:16AM (#43267642)
1. I run Docker and Podman on my Macs.

2. If you mean MDM, there are several good options. Screen sharing and SSH are build in.

3. In what sense?

4. `uv python install whatever` is infinitely better than upgrading on the OS vendor’s schedule.

5. What does that affect?

Re:Apple M3 Ultra by devmor on Wednesday March 05, 2025 @10:29AM (#43267855)
>I run Docker and Podman on my Macs.

The same way Windows users run them. In a linux VM.

You don't get real on-hardware containerization.

Re:Apple M3 Ultra by kstrauser on Wednesday March 05, 2025 @10:42AM (#43268043)
Ah, I see what you’re saying. Basically, Darwin doesn’t support cgroups, so Docker runs Linux in a VM to get that.
Re:Apple M3 Ultra by devmor on Wednesday March 05, 2025 @10:45AM (#43268109)
I don't think it supports userland namespaces either, which is another important part of container isolation.
Re:Apple M3 Ultra by saagarjha on Thursday March 06, 2025 @02:47AM (#43277560)
It has partial namespaces support for the iOS simulator.
Re:Apple M3 Ultra by naikrovek on Wednesday March 05, 2025 @10:38AM (#43267986)
surprisingly, Windows containers on Windows are not run in a VM. Well, not necessarily; they can be.

It is definitely odd that Macs have no native container support, though, especially when you learn that Windows does.

Re:Apple M3 Ultra by p_ing on Wednesday March 05, 2025 @11:29AM (#43268770)
Well, Windows (in a form) is the hypervisor for the Azure infrastructure. Azure Web Sites when run as Windows/IIS are Windows containers. Makes sense.

Honestly I don't know what XNU/Darwin is good for. It doesn't do anything especially well compared to *BSD, Linux, and NT.

Re:Apple M3 Ultra by hedora on Wednesday March 05, 2025 @12:55PM (#43269934)
Its async i/o APIs are best in class (i.e., compatible with BSD, and not Linux’s epoll tire fire).

Not disagreeing though.

Re:Apple M3 Ultra by p_ing on Thursday March 06, 2025 @09:46AM (#43280819)
Linux has io_uring. NT outclasses XNU by a long shot with IOCP, Registered I/O, and IO Ring (io_uring copy).
Re:Apple M3 Ultra by devmor on Wednesday March 05, 2025 @10:41AM (#43268025)
That is an important point, I didn't really think of it since I've never had a reason to use Windows containers.
Re:Apple M3 Ultra by naikrovek on Wednesday March 05, 2025 @01:30PM (#43270380)
that's ok, no one thinks of windows, and fewer people than that would ever use a windows container.
Re:Apple M3 Ultra by mschuster91 on Wednesday March 05, 2025 @10:24AM (#43267757)
> 1. I run Docker and Podman on my Macs.

That's using a Linux VM. The idea people are asking about is native process isolation. Yes you'd have to rebuild Docker containers based on some sort of (small) macOS base layer and Homebrew/Macports, but hey. Being able to even run nodejs or php with its thousands of files natively would be a gamechanger in performance.

Re:Apple M3 Ultra by hedora on Wednesday March 05, 2025 @12:57PM (#43269969)
Also, it were possible to containerize macos, or even do an unintended vm installation, then it’d be possible for apple to automatically regression test their stuff.
Re:Apple M3 Ultra by thecosmicfrog on Wednesday March 05, 2025 @08:19PM (#43275062)
Thanks for introducing me to `uv`. I've been looking for a tool that integrates pip and pyenv/virtualenv.