-
Notifications
You must be signed in to change notification settings - Fork 118
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
Support non-registry mount sources #668
Comments
I want to implement P2P lazy pulling with containerd and stargz-snapshotter. Each node deploys a When i use However, when i use I find that it starts to pull |
@qi0523 Could you provide a reproducible step and the log for that issue? |
Thanks. The |
@qi0523 So you're implementing your own registry API, right? Does that API fully implements OCI Distribution Spec? For successful lazy pulling, it needs to implement HTTP Range Request for blobs API at least. Could you provide the log printed by stargz snapshotter (containerd-stargz-grpc) so that we can deeply investigate the issue? You can also find the registry client logic at https://github.com/containerd/stargz-snapshotter/blob/v0.12.1/fs/remote/resolver.go |
Yes, i read the code of The logs show that stargz snapshotter can not extract |
@qi0523 The error logs look truncated. Could you copy them and post here as text? |
Oct 25 08:13:54 xv6 containerd-stargz-grpc[645]: {"key":"default/6/extract-643806365-5X68 sha256:73d944bd82a9c645ec64e7a4b41e2453945687efcfd83b8c268150107fab2058","level":"info","msg":"preparing filesy |
The error message says the |
Thanks. Another question is that when we use stargz-snaphotter, The data of |
This is because of lazy pulling. containerd doesn't pull layer blobs but stargz-snapshotter lazily pulls chunks of layer blobs.
Yes. Blobs are stored under that directory and they are chunked. Note that some chunks of blobs can be lack until stargz-snapshotter completes downloading the entire blob contents to the node. The followings are some of packages managing them: |
Hi, i try to use the data of |
Stargz snapshotter should support more mount sources other than registry.
They include the following (discussed at moby/buildkit#2685 (comment)).
The text was updated successfully, but these errors were encountered: