cmd/{ctr,dist}: move images command to ctr

Rather than make a large PR, we can move parts of the dist commands over
piece by piece. This first step moves over the images command. Others
will follow.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Stephen J Day
2017-07-14 14:50:02 -07:00
parent d50e4bcdf3
commit f7306d7f6c
4 changed files with 37 additions and 46 deletions

View File

@@ -46,6 +46,10 @@ containerd CLI
Name: "timeout",
Usage: "total timeout for ctr commands",
},
cli.DurationFlag{
Name: "connect-timeout",
Usage: "timeout for connecting to containerd",
},
cli.StringFlag{
Name: "namespace, n",
Usage: "namespace to use with commands",
@@ -54,13 +58,14 @@ containerd CLI
},
}
app.Commands = append([]cli.Command{
attachCommand,
imageCommand,
containersCommand,
checkpointCommand,
runCommand,
attachCommand,
deleteCommand,
namespacesCommand,
eventsCommand,
containersCommand,
taskListCommand,
infoCommand,
killCommand,