Apple Container Internal

One day I found Apple has its own container implementation, which is an open source project called apple/container. I was so curious about how it works and then spent a weekend tracing its internals. This post is a simple analysis of it.