By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Apple Containerization a Native Linux Container Support for macOS
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > Apple Containerization a Native Linux Container Support for macOS
News

Apple Containerization a Native Linux Container Support for macOS

News Room
Last updated: 2025/06/12 at 4:26 AM
News Room Published 12 June 2025
Share
SHARE

Apple announced, at WWDC 2025, Containerization and Container CLI, a tool to create and run Linux containers as lightweight virtual machines on Mac. This is a significant shift in how developers can run Linux containers on macOS because this new open-source containerization framework eliminates the need for third-party tools like Docker. The Swift-based framework provides native Linux container support directly within macOS 26, marking Apple’s entry into the containerization space with a focus on security, performance, and privacy.

Unlike traditional containerization solutions that run multiple containers within a single large virtual machine, Apple’s approach runs each Linux container inside its lightweight virtual machine. This architecture provides several key advantages:

  • Enhanced Security: Each container receives the same level of isolation as a full virtual machine, significantly reducing the attack surface. The minimal filesystem contains no core utilities, dynamic libraries, or libc implementation, further minimizing security risks.
  • Dedicated Resources: Every container gets its IP address, eliminating the need for port forwarding and providing performant network access. CPU and memory resources are allocated per container, with no resource consumption when containers aren’t running.
  • Privacy by Design: Directory and file sharing occurs on a per-container basis, ensuring only the requesting container has access to shared content, rather than exposing it to all containers in a shared VM.

The Containerization framework leverages Swift extensively, including a custom init system called vminitd written entirely in Swift. This init system runs as the first process inside each virtual machine and handles:

  • IP address assignment to network interfaces
  • Filesystem mounting, including the container’s block device
  • Process launching and supervision
  • API management for host-container communication

To achieve this in an environment without standard libraries, Apple uses Swift’s Static Linux SDK to cross-compile static Linux binaries directly from macOS, combined with musl for static linking support.

Despite running each container in its own VM, Apple claims sub-second startup times through several optimizations:

  • Optimized Linux Kernel: A custom kernel configuration specifically designed for containerization workloads
  • EXT4 Block Devices: Container filesystems are exposed as formatted EXT4 block devices for performant access
  • Apple Silicon Optimization: The entire stack is optimized for Apple’s custom silicon architecture

Apple provides both a framework for developers building containerization solutions and a command-line tool for immediate use. The container CLI tool offers familiar Docker-like commands:


# Pull an image
container image pull alpine:latest

# Run an interactive container
container run -t -i alpine:latest sh

 

The tool provides XPC services for storage, image management, network services, and container runtime management, all built using the Containerization APIs.

Apple has released both the Containerization framework and the container CLI tool as open-source projects on GitHub. The repositories include:

  • Complete source code for the framework and tools
  • Example projects demonstrating integration
  • Technical documentation and architectural overviews
  • Cross-platform Swift packages used in vminitd

Apple’s entry into containerization joins an established ecosystem of open-source alternatives to Docker that have gained significant traction recently. Podman, developed by Red Hat, stands as the most prominent Docker alternative, offering OCI-compliant container management with a daemonless architecture that eliminates the need for root privileges. This rootless operation provides enhanced security benefits, making Podman particularly attractive for environments where security is paramount. Other notable solutions include containerd, which serves as a low-level container runtime used by Kubernetes, and Buildah, which specializes in building container images without requiring a full container runtime. Tools like LXD focus on system containers rather than application containers, while solutions like Rancher Desktop provide user-friendly graphical interfaces for container management. Apple’s unique approach of running each container in its own lightweight virtual machine distinguishes it from these existing solutions, which typically rely on shared kernel containerization technologies like cgroups and namespaces.

The Containerization framework and container CLI will be available with macOS 26, with the open-source components immediately accessible on GitHub. Developers can explore the framework, contribute to its development, and begin building solutions that integrate Linux containers natively on macOS.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article 9 Best Instagram Reels Editing Apps on the Market in 2025
Next Article Cambridge Audio’s MXW70 is a half-width, full power amplifier
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

You Can Score a Free Samsung Galaxy S25+ From T-Mobile, But Not For Long
News
Photo Dumps: What They Are and How to Start Posting Them |
Computing
The Accessibility Law enters into force this month and wants to change everything. From the ATM to Amazon
Mobile
A DLC in 2026, 11 years after the game released?
Mobile

You Might also Like

News

You Can Score a Free Samsung Galaxy S25+ From T-Mobile, But Not For Long

5 Min Read
News

Looking for the best Apple deal? The Apple Pencil (USB-C) is $10 off right now at Amazon.

2 Min Read
News

iOS 26 Streamlines Apple Music Replay

6 Min Read
News

Samsung teases a smarter, AI-powered camera on its thinnest foldable yet

7 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?