Merge pull request #23256 from vdemeester/migrate-pull-push-to-cobra

Use spf13/cobra for docker push and docker pull
This commit is contained in:
Alexander Morozov 2016-06-13 14:16:42 -07:00 committed by GitHub
commit f09c355dc2
2 changed files with 2 additions and 2 deletions

View File

@ -61,6 +61,8 @@ func NewCobraAdaptor(clientFlags *cliflags.ClientFlags) CobraAdaptor {
image.NewLoadCommand(dockerCli),
image.NewRemoveCommand(dockerCli),
image.NewSaveCommand(dockerCli),
image.NewPullCommand(dockerCli),
image.NewPushCommand(dockerCli),
image.NewSearchCommand(dockerCli),
image.NewImportCommand(dockerCli),
image.NewTagCommand(dockerCli),

View File

@ -13,8 +13,6 @@ var DockerCommandUsage = []Command{
{"info", "Display system-wide information"},
{"inspect", "Return low-level information on a container or image"},
{"ps", "List containers"},
{"pull", "Pull an image or a repository from a registry"},
{"push", "Push an image or a repository to a registry"},
{"update", "Update configuration of one or more containers"},
}