diff --git a/cobraadaptor/adaptor.go b/cobraadaptor/adaptor.go index 057acb5505..b1980491a8 100644 --- a/cobraadaptor/adaptor.go +++ b/cobraadaptor/adaptor.go @@ -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), diff --git a/usage.go b/usage.go index 4f46b4acf7..9cd7acd244 100644 --- a/usage.go +++ b/usage.go @@ -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"}, }