HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
apple
container
Swift2025–2026
apple / container

container

A tool for creating and running Linux containers using lightweight virtual machines on a Mac. It is written in Swift, and optimized for Apple silicon.

77Distinct people
90Mentions
1Explicit recommenders
51.3KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A tool for creating and running Linux containers using lightweight virtual machines on a Mac. It is written in Swift, and optimized for Apple silicon.

GitHub

Where it is used

  • Davit — Davit is a shipped native macOS application that connects to Apple's container runtime to run and manage Linux containers on macOS. Source

What people are saying

This looks nice, but on mac you can virtualise really easily into microvms now with https://github.com/apple/container. I've built my own cli that runs the agent + docker…

te_chris used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 10:02:05 AM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by month90 dated mentions

Observed mentions: 2025-06-09 20:42:23 UTC to 2026-10-12 09:40:14 UTC.

0510152025-06-01 00:00:00 UTC to 2025-07-01 00:00:00 UTC (exclusive): 11 mentions; 2 submissions, 9 commentsJun 20252025-07-01 00:00:00 UTC to 2025-08-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2025-08-01 00:00:00 UTC to 2025-09-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 comments2025-09-01 00:00:00 UTC to 2025-10-01 00:00:00 UTC (exclusive): 6 mentions; 0 submissions, 6 comments2025-10-01 00:00:00 UTC to 2025-11-01 00:00:00 UTC (exclusive): 9 mentions; 0 submissions, 9 comments2025-11-01 00:00:00 UTC to 2025-12-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2025-12-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2026-01-01 00:00:00 UTC to 2026-02-01 00:00:00 UTC (exclusive): 7 mentions; 1 submissions, 6 comments2026-02-01 00:00:00 UTC to 2026-03-01 00:00:00 UTC (exclusive): 5 mentions; 1 submissions, 4 commentsFeb 20262026-03-01 00:00:00 UTC to 2026-04-01 00:00:00 UTC (exclusive): 10 mentions; 0 submissions, 10 comments2026-04-01 00:00:00 UTC to 2026-05-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2026-05-01 00:00:00 UTC to 2026-06-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2026-06-01 00:00:00 UTC to 2026-07-01 00:00:00 UTC (exclusive): 17 mentions; 3 submissions, 14 comments2026-07-01 00:00:00 UTC to 2026-08-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2026-08-01 00:00:00 UTC to 2026-09-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2026-09-01 00:00:00 UTC to 2026-10-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2026-10-01 00:00:00 UTC to 2026-11-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 commentsOct 2026

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jun 20252025-06-01 00:00:00 UTC2025-07-01 00:00:00 UTC1129
Jul 20252025-07-01 00:00:00 UTC2025-08-01 00:00:00 UTC202
Aug 20252025-08-01 00:00:00 UTC2025-09-01 00:00:00 UTC312
Sep 20252025-09-01 00:00:00 UTC2025-10-01 00:00:00 UTC606
Oct 20252025-10-01 00:00:00 UTC2025-11-01 00:00:00 UTC909
Nov 20252025-11-01 00:00:00 UTC2025-12-01 00:00:00 UTC202
Dec 20252025-12-01 00:00:00 UTC2026-01-01 00:00:00 UTC101
Jan 20262026-01-01 00:00:00 UTC2026-02-01 00:00:00 UTC716
Feb 20262026-02-01 00:00:00 UTC2026-03-01 00:00:00 UTC514
Mar 20262026-03-01 00:00:00 UTC2026-04-01 00:00:00 UTC10010
Apr 20262026-04-01 00:00:00 UTC2026-05-01 00:00:00 UTC101
May 20262026-05-01 00:00:00 UTC2026-06-01 00:00:00 UTC505
Jun 20262026-06-01 00:00:00 UTC2026-07-01 00:00:00 UTC17314
Jul 20262026-07-01 00:00:00 UTC2026-08-01 00:00:00 UTC505
Aug 20262026-08-01 00:00:00 UTC2026-09-01 00:00:00 UTC202
Sep 20262026-09-01 00:00:00 UTC2026-10-01 00:00:00 UTC101
Oct 20262026-10-01 00:00:00 UTC2026-11-01 00:00:00 UTC303

What Hacker News says

17 sources
Traditional containers like docker desktop need a vm to run its each container. So all container you spin up is store in this always on shared Linux kernel.apple introduced a opensource container project that creates tiny, light weight vm for each of the container you spin up, so when container stopps vm stops.This uses macos virtualisation framework(inbuilt mac os hyperviser{like virtual box, VMware,parallels etc} for M series) , vmnet framework (networking, how processes inside vm will connect to outside world), xpc(cross process communication,using it inter software process communicates with each other). But one question so if this new method of running docker images with each having its own vm, how buildkit will work because it needed to be in kernal environment to build your image and there is no shared vm linux environment alrea
Read the rest
dy? comment your thoughts about it. # Apple # Apple Developer GitHub repo:https://github.com/apple/container
In [dead]
I am not (purposefully) granting them the benefit of the doubt. In my comment I simply noted that the comments there are extremely anti-Apple yet without any solid arguments behind them, and I also noted that the whole thing is just because of an APFS flag which could be fixed from Asahi's side. The main reason I made the comment is because I am shocked at how poorly backed the arguments are. As for Apple not helping the Linux team, why would they, or any major OEM? Apple is perfectly happy with https://github.com/apple/container
In macOS 27 Beta breaks the ability to boot Asahi Linux
> container runs containers differently. Using the open source Containerization package, it runs a lightweight VM for each container that you create. This approach has the following properties: > - Security: Each container has the isolation properties of a full VM, using a minimal set of core utilities and dynamic libraries to reduce resource utilization and attack surface. > - Privacy: When sharing host data using container, you mount only necessary data into each VM. With a shared VM, you need to mount all data that you may ever want to use into the VM, so that it can be mounted selectively into containers. > -Performance: Containers created using container require less memory than full VMs, with boot times that are comparable to containers running in a shared VM. More details, including technical limitations (they’re looking for bug re
Read the rest
ports and contributions): “Container: Technical Overview” https://github.com/apple/container/blob/main/docs/technical-...
In macOS Container Machines
> Just to clarify, this requires Mac OS 26 Tahoe for "container" doesn't it? Yes’n’t: https://github.com/apple/container/blob/main/docs/technical-... > container relies on the new features and enhancements present in macOS 26. You can run container on macOS 15, but you will need to be aware of some user experience and functional limitations. There is no plan to address issues found with macOS 15 that cannot be reproduced on macOS 26. The issues are around networking.
In macOS Container Machines
It's called a container machine but it's a virtual machine. I quote from https://github.com/apple/container/blob/main/docs/technical-... > container runs containers differently. Using the open source Containerization package, it runs a lightweight VM for each container that you create. This approach has the following properties: > * Security: Each container has the isolation properties of a full VM, using a minimal set of core utilities and dynamic libraries to reduce resource utilization and attack surface. > * Privacy: When sharing host data using container, you mount only necessary data into each VM. With a shared VM, you need to mount all data that you may ever want to use into the VM, so that it can be mounted selectively into containers. > * Performance: Containers created using container require less memory than full VMs, with boot
Read the rest
times that are comparable to containers running in a shared VM. So: you build it as a container image and MacOS starts a VM to run it. Edit: quite unusually for a container it runs systemd. They give an example "systemctl start postgresql".
In macOS Container Machines
macOS sandboxing is deliberately limited just enough to prevent anyone from truly implement Darwin-on-Darwin containers. People have been discussing about this for a while, see https://github.com/apple/container/discussions/611 In general I understand the rationale behind Apple's decision. They sell hardware, and there's real demand for macOS on servers to run build jobs and other Mac-only tools. Giving you the ability to run multiple containers on a single Mac would end up turning a 10 Mac Mini order into a 2 Mac Minis order for most people. Rest assured, even if it would be technically possible they'd find a way to cap it somehow via the EULA or whatever
In macOS Container Machines

Showing the 15 most recent of 17 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.