-
Notifications
You must be signed in to change notification settings - Fork 80
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
snapshotter example fails with a protocol error #52
Comments
The example from the snapshotter crate is not an actual snapshotter implementation. It's rather an example how to implement |
I was aware of it but wasn't expecting an error like this. Perhaps the readme could add a line about the expected output. |
I briefly looked into this yesterday again and I believe this depends on hyperium/h2#612. Some work was done in grpc-go (grpc/grpc-go#3730) but that does not seem to help. |
@mxpv there seems to a small problem with containerd itself too. but containerd does not pass the address in the expected format:
(just tested with the example here and that worked. I could prepare a better patch to containerd after checking all cases are covered). |
quoting myself. this makes no sense. I've been using Debian Unstable's containerd 1.6.2 but it seems they build using an ancient grpc-go which does not have the authority improvements. A locally built containerd works just fine. |
With
ctr i pull --snapshotter custom docker.io/library/hello-world:latest
given by the README, the snapshotter server returns a protocol error:A snippet from the snapshotter logs:
The text was updated successfully, but these errors were encountered: