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
imageverifier plugin CLI Arguments format issue #10114
Comments
Hi, I'd like to take on this issue if possible. |
@Anish-M sure, Thanks a lot! |
@arronwy I have some local containerd code I'm trying to test out, how do I run the default image-verifier plugin? Also I launched the build env with codespaces by I don't see any /opt/containerd/config.toml though I do believe that the image-verifier plugin is already setup correctly |
Hi @Anish-M , we can build the containerd from main branch:
Check whether containerd image-verifier plugin status:
Check contianerd default config:
The image-verifier binary should under directory: |
I don't see any image-verifier directory at that location, how can I build or compile the image-verifier plugin to get the binary there? |
@arronwy Can you give more detail why it may not be suitable? |
Description
https://github.com/containerd/containerd/blob/main/docs/image-verification.md#cli-arguments
https://github.com/containerd/containerd/blob/main/pkg/imageverifier/bindir/bindir.go#L118-L121
normally the command line should support short or long two types flags:
But current CLI Arguments use single-dash arguments with longer names, it may not suitable as binary API
Steps to reproduce the issue
Describe the results you received and expected
What version of containerd are you using?
latest main branch
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
No response
The text was updated successfully, but these errors were encountered: