commands.sh

docker search

all

Search for Docker images on Docker Hub.

More info →

Options (2)

-f, --filterboolean

Search for images and only show official ones

Example: docker search {{[-f|--filter]}} is-official=true {{keyword}}
-f, --formatboolean

Customize the output format

Example: docker search {{[-f|--format]}} "{{.Name}}: {{.Description}}" {{keyword}}

Examples (6)

Search for Docker images by name or keyword

Search for images and only show official ones

docker search [-f|--filter] is-official=true keyword

Search for images and only show automated builds

docker search [-f|--filter] is-automated=true keyword

Search for images with a minimum number of stars

docker search [-f|--filter] stars=number keyword

Limit the number of results

docker search --limit number keyword

Customize the output format

docker search [-f|--format] ".Name: .Description" keyword
made by @shridhargupta | data from tldr-pages