← 返回命令列表

Linux command

docker-search 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Search Docker Hub

docker search [term]

Search with limit

docker search --limit [25] [term]

Filter official images

docker search -f is-official=true [term]

Filter automated builds

docker search -f is-automated=true [term]

Filter by stars

docker search -f stars=[100] [term]

说明

docker search searches Docker Hub for images. Returns image name, description, stars, and official/automated status. This command queries the public Docker Hub registry to help discover available images. Results can be filtered by official status, automation, or popularity to find trusted images.

参数

-f, --filter _filter_
Filter output based on conditions.
--format _string_
Format output using Go template.
--limit _int_
Max number of results (default 25).
--no-trunc
Don't truncate output.

FAQ

What is the docker-search command used for?

docker search searches Docker Hub for images. Returns image name, description, stars, and official/automated status. This command queries the public Docker Hub registry to help discover available images. Results can be filtered by official status, automation, or popularity to find trusted images.

How do I run a basic docker-search example?

Run `docker search [term]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -f, --filter _filter_ do in docker-search?

Filter output based on conditions.