Merge pull request #23306 from yongtang/23211-spf13-cobra-top

Use spf13/cobra for docker top
This commit is contained in:
Alexander Morozov 2016-06-06 10:14:10 -07:00
commit 8ad9f66953
2 changed files with 1 additions and 1 deletions

View File

@ -42,6 +42,7 @@ func NewCobraAdaptor(clientFlags *cliflags.ClientFlags) CobraAdaptor {
container.NewRunCommand(dockerCli),
container.NewStartCommand(dockerCli),
container.NewStopCommand(dockerCli),
container.NewTopCommand(dockerCli),
container.NewUnpauseCommand(dockerCli),
container.NewWaitCommand(dockerCli),
image.NewRemoveCommand(dockerCli),

View File

@ -33,7 +33,6 @@ var DockerCommandUsage = []Command{
{"save", "Save one or more images to a tar archive"},
{"stats", "Display a live stream of container(s) resource usage statistics"},
{"tag", "Tag an image into a repository"},
{"top", "Display the running processes of a container"},
{"update", "Update configuration of one or more containers"},
{"version", "Show the Docker version information"},
}