[PR #318] [MERGED] feat(containerd): add plain snapshotter for running containers from a rootfs directory #343

Closed
opened 2026-10-29 14:22:25 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/kvcache-ai/AgentENV/pull/318
Author: @guozy18
Created: 9/24/2026
Status: ✅ Merged
Merged: 9/24/2026
Merged by: @yingdi-shan

Base: main ← Head: main


📝 Commits (1)

  • 7f5e9f0 feat(containerd): add plain snapshotter for running containers from a rootfs directory

📊 Changes

6 files changed (+1035 additions, -0 deletions)

View changed files

➕ containerd-plain-snapshotter/.gitignore (+3 -0)
➕ containerd-plain-snapshotter/README.md (+171 -0)
➕ containerd-plain-snapshotter/go.mod (+38 -0)
➕ containerd-plain-snapshotter/go.sum (+196 -0)
➕ containerd-plain-snapshotter/main.go (+310 -0)
➕ containerd-plain-snapshotter/snapshotter.go (+317 -0)

📄 Description

Vendor a minimal containerd proxy snapshotter that bind-mounts an existing host rootfs directory as a container's root filesystem — no image pull, no layer unpacking, zero copy. Ships a 'register' command that maps a placeholder image's chain ID to the directory, with optional -image-metadata to preserve the original image's ENV/ENTRYPOINT/CMD.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/kvcache-ai/AgentENV/pull/318 **Author:** [@guozy18](https://github.com/guozy18) **Created:** 9/24/2026 **Status:** ✅ Merged **Merged:** 9/24/2026 **Merged by:** [@yingdi-shan](https://github.com/yingdi-shan) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`7f5e9f0`](https://github.com/kvcache-ai/AgentENV/commit/7f5e9f06f0eaff76d59a7c4b047db2d3cac38a8f) feat(containerd): add plain snapshotter for running containers from a rootfs directory ### 📊 Changes **6 files changed** (+1035 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `containerd-plain-snapshotter/.gitignore` (+3 -0) ➕ `containerd-plain-snapshotter/README.md` (+171 -0) ➕ `containerd-plain-snapshotter/go.mod` (+38 -0) ➕ `containerd-plain-snapshotter/go.sum` (+196 -0) ➕ `containerd-plain-snapshotter/main.go` (+310 -0) ➕ `containerd-plain-snapshotter/snapshotter.go` (+317 -0) </details> ### 📄 Description Vendor a minimal containerd proxy snapshotter that bind-mounts an existing host rootfs directory as a container's root filesystem — no image pull, no layer unpacking, zero copy. Ships a 'register' command that maps a placeholder image's chain ID to the directory, with optional -image-metadata to preserve the original image's ENV/ENTRYPOINT/CMD. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-29 14:22:25 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kvcache-ai/AgentENV#343
No description provided.