Name, shorthand | Default | Description |
--filter , -f | Filter output based on conditions provided | |
--format | Pretty-print search using a Go template | |
--limit | 25 | Max number of search results |
--no-trunc | Don't truncate output |
--limit
is the maximum number of results returned by a search. This value couldbe in the range between 1 and 100. The default value of --limit
is 25.-f
or --filter
) format is a key=value
pair. If there is morethan one filter, then pass multiple flags (e.g. --filter is-automated=true --filter stars=3
)--format
) pretty-prints search outputusing a Go template.Placeholder | Description |
---|---|
.Name | Image Name |
.Description | Image description |
.StarCount | Number of stars for the image |
.IsOfficial | “OK” if image is official |
.IsAutomated | “OK” if image build was automated |
--format
option, the search
command willoutput the data exactly as the template declares. If you use thetable
directive, column headers are included as well.Name
and StarCount
entries separated by a colon (:
) for all images:Command | Description |
---|---|
docker | The base command for the Docker CLI. |