RepositorySwiftUSHoa Kỳ
apple

apple/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.

52.2ksao
1.9kfork
402issue
14lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

3
TINIX TRENDING·Swift

#3 Repository Của Tuần

1
TINIX TRENDING·Swift

#1 Repository Của Tuần

3
TINIX TRENDING·Swift

#3 Repository Của Ngày

🍏 Apple's native Linux container runtime for Mac

Run Linux containers directly on your Apple silicon Mac without Docker Desktop.

container is an open-source tool from Apple that creates and runs Linux containers as lightweight virtual machines on macOS. Written in Swift and optimized for Apple silicon, it uses the Containerization Swift package for low-level container, image, and process management. It supports standard OCI-compatible container images, letting you pull, run, and push images to any compliant registry.

✨ Highlights

  • Apple Silicon Optimized: Built specifically for Macs with Apple silicon to leverage native performance.
  • Lightweight VMs: Runs containers inside lightweight virtual machines rather than a full VM overhead.
  • OCI-Compatible: Pulls and runs images from any standard container registry; supports pushing built images too.
  • Swift Implementation: Entirely written in Swift, using the Containerization Swift package for core operations.
  • macOS 26 Required: Takes advantage of new virtualization and networking features in macOS 26; older versions unsupported.
  • Signed Installer: Installs via a signed package and system service managed through container system start.
  • Upgrade/Downgrade Scripts: Includes update-container.sh and uninstall-container.sh for easy version management.
  • Guided Tutorials: Provides documentation for building, running, publishing, and exploring features.

💡 Why it matters

Unlike traditional container tools that rely on heavy VM layers or third-party daemons, container integrates tightly with macOS virtualization frameworks, offering a more streamlined experience on Apple hardware. It avoids the licensing and performance overhead associated with Docker Desktop, making it a compelling option for developers who want native container support on their M-series Macs.

Ideal for developers targeting Linux-based deployments while working on Apple silicon machines, especially those looking to stay within the Apple ecosystem without external dependencies.


#Containerization #LinuxContainers #AppleSilicon #Swift #TiniX