diff --git a/cli/command/registry/search.go b/cli/command/registry/search.go index 3827424386..c106c7a2cb 100644 --- a/cli/command/registry/search.go +++ b/cli/command/registry/search.go @@ -26,7 +26,7 @@ func NewSearchCommand(dockerCli command.Cli) *cobra.Command { cmd := &cobra.Command{ Use: "search [OPTIONS] TERM", - Short: "Search the Docker Hub for images", + Short: "Search Docker Hub for images", Args: cli.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { options.term = args[0] diff --git a/docs/reference/commandline/index.md b/docs/reference/commandline/index.md index a6cd4e1b9c..51bce7a458 100644 --- a/docs/reference/commandline/index.md +++ b/docs/reference/commandline/index.md @@ -74,13 +74,13 @@ read the [`dockerd`](dockerd.md) reference page. ### Hub and registry commands -| Command | Description | -|:--------------------|:-----------------------------------------------------------------------| -| [login](login.md) | Register or log in to a Docker registry | -| [logout](logout.md) | Log out from a Docker registry | -| [pull](pull.md) | Pull an image or a repository from a Docker registry | -| [push](push.md) | Push an image or a repository to a Docker registry | -| [search](search.md) | Search the Docker Hub for images | +| Command | Description | +|:--------------------|:------------------------------------------------------------------------| +| [login](login.md) | Register or log in to a Docker registry | +| [logout](logout.md) | Log out from a Docker registry | +| [pull](pull.md) | Pull an image or a repository from a Docker registry | +| [push](push.md) | Push an image or a repository to a Docker registry | +| [search](search.md) | Search Docker Hub for images | ### Network and connectivity commands diff --git a/docs/reference/commandline/search.md b/docs/reference/commandline/search.md index 51587921e9..9c056a3e09 100644 --- a/docs/reference/commandline/search.md +++ b/docs/reference/commandline/search.md @@ -9,7 +9,7 @@ keywords: "search, hub, images" ```markdown Usage: docker search [OPTIONS] TERM -Search the Docker Hub for images +Search Docker Hub for images Options: -f, --filter value Filter output based on conditions provided (default [])