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
Options not passed to shim when run via ctr #4727
Comments
|
|
|
That seems a bit odd given the the runtimes themselves are defined as a cri configuration: |
|
My thought it that the |
|
@ianlewis That being said, we have now merged I am going to mark this as a feature request since the requested functionality is not implemented today. I am assuming you want this to work and not just mark it as something we should document as not working :) |
|
I'm aware of cri being a plugin but I'm a bit confused. Given that the target of ctr's |
I am confused in it. You use |
I'm not sure what you mean. You simply can't set a shim config path when not using CRI because the shim config path is a CRI plugin feature (the code just isn't there), even though you should theoretically be able to set a config because shim's aren't a CRI thing. |
Description
config.tomllooks like this.Steps to reproduce the issue:
ctr run --rm --runtime io.containerd.runsc.v1 docker.io/library/alpine:latest foo echo barDescribe the results you received:
Options set in
config.tomlare not passed to shim. Shim receives nil Options in the CreateTaskRequest request.Describe the results you expected:
Options should be set on the CreateTaskRequest and include data in
config.toml.Output of
containerd --version:The text was updated successfully, but these errors were encountered: