Skip to content

feat(protos): Import a pre-packed image directly into the cache (containerd shim) - #59

Merged
azenla merged 1 commit into
mainfrom
azenla/feat/import-packed-image
Sep 25, 2026
Merged

azenla merged 1 commit into
mainfrom
azenla/feat/import-packed-image

Conversation

@azenla

@azenla azenla commented Sep 25, 2026

Copy link
Copy Markdown
Member

Adds ImportPackedImage, a client-streaming RPC that stores an image the caller has already packed (squashfs, erofs, tar or directory) straight into the daemon's image cache, together with its manifest and config. It skips the unpack and repack that ImportImage does.

The artifact arrives either as chunks or as a local_path under the daemon's temporary directory, which the daemon moves into the cache. The daemon checks the manifest, the config and the digest, but not the artifact's contents.

containerd-shim uses it to run mksquashfs straight over containerd's unpacked rootfs, instead of flattening the image to a tar first.

@github-actions

Copy link
Copy Markdown

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedSep 25, 2026, 4:39 PM

@azenla
azenla merged commit f05dceb into main Sep 25, 2026
2 checks passed
@azenla
azenla deleted the azenla/feat/import-packed-image branch September 25, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants