[HN Gopher] Apple Container 0.9.0
       ___________________________________________________________________
        
       Apple Container 0.9.0
        
       Author : tosh
       Score  : 18 points
       Date   : 2026-02-08 20:26 UTC (2 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | bsaul wrote:
       | is this a replacement for docker ?
       | 
       | Super interesting that they're using swift. Does this mean the
       | project is only a wrapper for system libraries ? I can't imagine
       | writing low-level system code in swift yet.
        
         | bahador wrote:
         | > 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.
         | 
         | apple.github.io/container/documentation/
        
         | ironhaven wrote:
         | I was going to rant about how containerization does not just
         | mean Linux namespaces but that is what this is.
         | 
         | This project is very similar to docker with a background daemon
         | server that you control via a cli to launch Linux containers.
         | 
         | Because Linux containers need Linux namespaces, each container
         | is run in a virtual machine with a Linux kernel.
        
         | timsneath wrote:
         | Swift goes further down the stack than you might at first
         | imagine -- there's a lot of Swift written at Apple even in
         | places where you might expect C.
         | 
         | The container CLI tool wraps the underlying Containerization
         | framework, which in turn vends packages for things like EXT4
         | file system support -- all written in Swift. Here's one example
         | as a jumping off point.
         | https://github.com/apple/containerization/blob/main/Sources/...
        
       ___________________________________________________________________
       (page generated 2026-02-08 23:01 UTC)