docs: Add apple/container integration analysis#211
Open
cgwalters wants to merge 1 commit intobootc-dev:mainfrom
Open
docs: Add apple/container integration analysis#211cgwalters wants to merge 1 commit intobootc-dev:mainfrom
cgwalters wants to merge 1 commit intobootc-dev:mainfrom
Conversation
Open
There was a problem hiding this comment.
Code Review
This pull request adds extensive documentation, including a detailed analysis of a potential integration between bcvk and Apple's container tool. The changes introduce three new documentation pages comparing bcvk with bootc, podman-bootc, and analyzing the apple/container integration. The new analysis in vs-apple-container.md is thorough, covering technical implementation details and providing a clear path forward. The documentation is well-structured and valuable. I have one minor suggestion to correct a version number for accuracy. It would also be beneficial to update the pull request title and description to reflect the full scope of the documentation added.
1 task
Describe how bcvk could reuse ext4 filesystem images that apple/container already creates, rather than reimplementing ext4 synthesis. The key insight is that apple/container's snapshot store contains plain ext4 files at predictable paths, and bcvk can read them directly. Cover the kernel extraction problem: bcvk always boots the image's own kernel, so it needs to read the kernel out of the ext4 image before booting. The ext4-view crate (pure Rust, read-only ext4 access) solves this without requiring mount privileges. Also document apple/container's storage APIs (content store layout, snapshot store structure) based on source analysis of the Containerization Swift package. Assisted-by: OpenCode (claude-opus-4-6) Signed-off-by: Colin Walters <walters@verbum.org>
c753572 to
8269355
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe how bcvk could reuse ext4 filesystem images that apple/container already creates, rather than reimplementing ext4 synthesis. The key insight is that apple/container's snapshot store contains plain ext4 files at predictable paths, and bcvk can read them directly.
Cover the kernel extraction problem: bcvk always boots the image's own kernel, so it needs to read the kernel out of the ext4 image before booting. The ext4-view crate (pure Rust, read-only ext4 access) solves this without requiring mount privileges.
Also document apple/container's storage APIs (content store layout, snapshot store structure) based on source analysis of the Containerization Swift package.
Assisted-by: OpenCode (claude-opus-4-6)