Migrate kill command to cobra

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
This commit is contained in:
Zhang Wei 2016-06-06 15:38:20 +08:00
parent 90a2068a6b
commit 05c7e2e124
2 changed files with 1 additions and 1 deletions

View File

@ -38,6 +38,7 @@ func NewCobraAdaptor(clientFlags *cliflags.ClientFlags) CobraAdaptor {
container.NewCreateCommand(dockerCli), container.NewCreateCommand(dockerCli),
container.NewDiffCommand(dockerCli), container.NewDiffCommand(dockerCli),
container.NewExportCommand(dockerCli), container.NewExportCommand(dockerCli),
container.NewKillCommand(dockerCli),
container.NewLogsCommand(dockerCli), container.NewLogsCommand(dockerCli),
container.NewPauseCommand(dockerCli), container.NewPauseCommand(dockerCli),
container.NewPortCommand(dockerCli), container.NewPortCommand(dockerCli),

View File

@ -17,7 +17,6 @@ var DockerCommandUsage = []Command{
{"import", "Import the contents from a tarball to create a filesystem image"}, {"import", "Import the contents from a tarball to create a filesystem image"},
{"info", "Display system-wide information"}, {"info", "Display system-wide information"},
{"inspect", "Return low-level information on a container or image"}, {"inspect", "Return low-level information on a container or image"},
{"kill", "Kill a running container"},
{"load", "Load an image from a tar archive or STDIN"}, {"load", "Load an image from a tar archive or STDIN"},
{"login", "Log in to a Docker registry"}, {"login", "Log in to a Docker registry"},
{"logout", "Log out from a Docker registry"}, {"logout", "Log out from a Docker registry"},