ctr: add events command

This simply print all events generated by containerd

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure 2016-12-14 09:15:27 -08:00
parent 286ea04591
commit 13399c1330
3 changed files with 67 additions and 0 deletions

View file

@ -36,6 +36,7 @@ containerd client
app.Commands = []cli.Command{
runCommand,
execCommand,
eventsCommand,
}
app.Before = func(context *cli.Context) error {
if context.GlobalBool("debug") {