Skip to content
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

hello-world fail #53

Closed
QuarkContainer opened this issue Mar 6, 2022 · 2 comments
Closed

hello-world fail #53

QuarkContainer opened this issue Mar 6, 2022 · 2 comments

Comments

@QuarkContainer
Copy link

I tried to run the shim as below.

sudo ctr run --rm --runtime io.containerd.skeleton.v1 -t docker.io/library/hello-world:latest hello --debug

And got failure as below.

ctr: failed to create shim: /containerd.task.v2.Task/Create is not supported: not found

I tried to debug it but don't know the log location. Can you please share log location?

@abel-von
Copy link
Contributor

abel-von commented Mar 7, 2022

the skeleton is not a full runc shim, you should use containerd-shim-runc-v2 in the target path, it is a binary from crates/runc-shim project。

@jsturtevant
Copy link
Contributor

I ran into this as well when following the directions at https://github.com/containerd/rust-extensions/tree/main/crates/shim#how-to-use-with-containerd. Should that readme be updated? The "manual" approach did work for me.

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

No branches or pull requests

3 participants