mirror of https://github.com/docker/cli.git
Migrate kill command to cobra
Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
This commit is contained in:
parent
90a2068a6b
commit
05c7e2e124
|
@ -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),
|
||||||
|
|
1
usage.go
1
usage.go
|
@ -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"},
|
||||||
|
|
Loading…
Reference in New Issue