Add ctr shim command
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
c08e0e610c
commit
bf036b9d78
6 changed files with 195 additions and 76 deletions
|
@ -40,6 +40,7 @@ containerd client
|
|||
deleteCommand,
|
||||
listCommand,
|
||||
inspectCommand,
|
||||
shimCommand,
|
||||
}
|
||||
app.Before = func(context *cli.Context) error {
|
||||
if context.GlobalBool("debug") {
|
||||
|
@ -48,7 +49,7 @@ containerd client
|
|||
return nil
|
||||
}
|
||||
if err := app.Run(os.Args); err != nil {
|
||||
fmt.Fprintf(os.Stderr, "containerd: %s\n", err)
|
||||
fmt.Fprintf(os.Stderr, "ctr: %s\n", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue