Container: Apple's Linux-Container Runtime

github.com

283 points by jzelinskie a day ago


dang - 19 hours ago

Related ongoing threads:

Containerization is a Swift package for running Linux containers on macOS - https://news.ycombinator.com/item?id=44229348 - June 2025 (158 comments)

Apple announces Foundation Models and Containerization frameworks, etc - https://news.ycombinator.com/item?id=44226978 - June 2025 (346 comments)

(Normally we'd merge them but it seems there are significant if subtle differences between these)

jzelinskie - a day ago

Container runs OCI (docker) compatible by creating lightweight VMs.

This repository houses the command-line interface which is powered by containerization[0], the Swift framework wrapping Virtualization.framework to implement an OCI runtime.

[0]: https://github.com/apple/containerization

90s_dev - 21 hours ago

How actually is Swift as a Rust alternative? Is it feasible?

The only gripe I remember with it is that all its APIs are weird.

Like instead of normal names, you have Apple-legacy-names for methods/classes.

sverhagen - 19 hours ago

Is it smart to call the implementation after the category, or am I misunderstanding what is going on? Surely they won't be able to trademark this?

gardaani - 18 hours ago

I have been using lima to run Linux VMs on macOS. This new Apple tool looks very similar and I might replace lima with it.

zarazas - 14 hours ago

Will it be possible to integrate this with docker, so docker containers on Mac run more performance optimized?

wmf - a day ago

Should probably merge with https://news.ycombinator.com/item?id=44229348

punnerud - 18 hours ago

Does this enable running containers next apps to iOS and MacOS downloaded from AppStore?

spockz - 18 hours ago

Cross posting in the right place instead of the other thread:

At 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?

anaisbetts - 12 hours ago

[flagged]

rcarmo - 14 hours ago

Not for iPadOS, alas.