-
Notifications
You must be signed in to change notification settings - Fork 719
Refactor image management to use transfer service #4583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
285c273 to
156a92a
Compare
b5584fe to
18b0448
Compare
a49ea0a to
f66db0d
Compare
f66db0d to
d36732a
Compare
|
Most image management operations now use the transfer service:
LimitationsDue to current transfer API constraints, the following features continue to use the legacy implementation: 1. IPFS Registry and Nondistributable ArtifactsReason: The transfer service API does not support custom registry resolver implementations. Affected features:
Status: These features remain on the legacy resolver-based approach until the transfer API supports custom resolvers. 2. Containerd 1.7.x Compatibility IssueIssue: When using containerd 1.7.x daemons, registry options like Technical details:
Impact:
|
|
For limitation 2, there are two potential solutions:
For limitation 1, there are two potential solutions:
|
|
Thanks @ChengyuZhu6
2 in the long term, 1 in the short term |
Switch image operations to the transfer API with structured progress reporting and improved TLS/HTTP fallback behavior. Introduce shared helpers for credentials, error classification, progress rendering, and transfer-based import/tag/save flows, updating tests to reflect the new UX. Signed-off-by: ChengyuZhu6 <[email protected]>
Add remote snapshot annotations and transfer unpack config for stargz, soci, and fuse-overlayfs snapshotter plugins. Signed-off-by: ChengyuZhu6 <[email protected]>
d36732a to
c5552d0
Compare
c5552d0 to
95e03e0
Compare
0694abb to
f2e210d
Compare
Add version detection to automatically select Transfer service (2.0+) or legacy resolver methods (< 2.0) for better compatibility. Signed-off-by: ChengyuZhu6 <[email protected]>
f2e210d to
d3b9cab
Compare
Fixes: #4573