docker search: find images on Docker Hub
Answer: docker search looks up images on Docker Hub. --filter narrows the output. --limit caps how many results you get. --no-trunc prints full fields. --format pretty-prints the rows with a Go template.
Flags
The command searches Docker Hub for images.
The --filter flag filters output based on conditions provided.
--limit is the maximum number of results. If no value is set, the default is set by the daemon.
--no-trunc means the output is not truncated.
--format pretty-prints the results with a Go template.
A table directive also prints column headers.
Filters and an example
Each filter uses the key=value format.
Pass multiple flags when more than one filter is required.
Searching for busybox lists images whose name contains that string.
See also
Claims
- id: C1 claim: docker search looks for images on Docker Hub. source: S2 evidence: "Search Docker Hub for images"
- id: C2 claim: --filter filters output on provided conditions. source: S2 evidence: "Filter output based on conditions provided"
- id: C3 claim: --limit caps the number of results. source: S2 evidence: "Max number of search results"
- id: C4 claim: --no-trunc disables truncated output. source: S2 evidence: "Don't truncate output"
- id: C5 claim: If --limit is omitted, the daemon sets the default. source: S1 evidence: "default is set by the daemon"
- id: C6 claim: The table format directive includes column headers. source: S1 evidence: "column headers are included as well"
Sources
- [S1] docker search. Docker Docs. https://docs.docker.com/reference/cli/docker/search/ . License: Apache-2.0. Accessed 2026-11-23.
- [S2] docker search CLI reference. Docker CLI. https://raw.githubusercontent.com/docker/cli/master/docs/reference/commandline/search.md . License: Apache-2.0. Accessed 2026-11-23.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Docker Docs, docker search; Docker CLI, docker search CLI reference. Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc. Apache-2.0 (https://raw.githubusercontent.com/docker/cli/master/LICENSE). Copyright Docker, Inc. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Docker Docs, docker search; Docker CLI, docker search CLI reference. Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc. Apache-2.0 (https://raw.githubusercontent.com/docker/cli/master/LICENSE). Copyright Docker, Inc.
Cite this
iinventedlight. 2026. "docker search: find images on Docker Hub." iinventedlight Library, iil:note:bj977v06, version of 2026-11-23. https://iinventedlight.com/library/notes/docker-search/. License: CC-BY-4.0.
@misc{iil_note_bj977v06,
author = {{iinventedlight}},
title = {{docker search: find images on Docker Hub}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-23},
url = {https://iinventedlight.com/library/notes/docker-search/},
note = {Permanent ID iil:note:bj977v06. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- docker-search.schema.json (schema; CC-BY-4.0)
- docker-search.table.json (table; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/docker-search.md.