forked from containerd/containerd
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api/services/instrospection: add PluginInfo
The new `PlunginInfo()` call can be used for instrospecting the details of the runtime plugin. ```console $ ctr plugins inspect-runtime --runtime=io.containerd.runc.v2 --runc-binary=runc { "Name": "io.containerd.runc.v2", "Version": { "Version": "v2.0.0-beta.0-XX-gXXXXXXXXX.m", "Revision": "v2.0.0-beta.0-XX-gXXXXXXXXX.m" }, "Options": { "binary_name": "runc" }, "Features": { "ociVersionMin": "1.0.0", "ociVersionMax": "1.1.0-rc.2", ..., }, "Annotations": null } ``` The shim binary has to support `-info` flag, see `runtime/v2/README.md` Replaces PR 8509 (`api/services/task: add RuntimeInfo()`) Co-authored-by: Derek McGowan <[email protected]> Signed-off-by: Akihiro Suda <[email protected]>
- Loading branch information
1 parent
9dbb761
commit 22d586e
Showing
24 changed files
with
1,423 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.