Apple introduced Container machine at WWDC26, a new feature built on the open-source Containerization Swift framework. Container machines combine the speed and lightweight nature of Linux containers with the persistence of virtual machines, running inside isolated VMs using OCI image format. Key features include automatic user mapping, shared filesystem between macOS and the Linux environment, consistent working directory mirroring, and seamless terminal integration. The demo shows building and running a Swift Vapor web server inside a Container machine while editing files in Xcode on macOS, with changes instantly reflected in the Linux environment. Container machines are managed via the open-source container CLI tool available on GitHub.

11m watch time
275 Impressions