cmd/ctr, service/containers: implement container filter

Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Stephen J Day
2017-06-21 15:29:58 -07:00
parent 3332042ab6
commit 396d89e423
16 changed files with 409 additions and 189 deletions

View File

@@ -60,7 +60,7 @@ containerd CLI
deleteCommand,
namespacesCommand,
eventsCommand,
containerListCommand,
containersCommand,
taskListCommand,
infoCommand,
killCommand,
@@ -83,3 +83,13 @@ containerd CLI
os.Exit(1)
}
}
var containersCommand = cli.Command{
Name: "containers",
Usage: "manage containers (metadata)",
Aliases: []string{"c"},
Subcommands: []cli.Command{
containersListCommand,
containersSetLabelsCommand,
},
}