---
source: https://iinventedlight.com/library/notes/docker-search.md
title: "docker search: find images on Docker Hub"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache-2.0 (Docker Docs); Apache-2.0 (Docker CLI); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "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."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-23
status: published
approved_by: "Cole Withington, 2026-11-27 14:30 PT: \"Yes, publish all of that now\""
checked_on: 2026-11-23
as_of: 2026-11-23
confidence: medium
untested: "Not reproduced (2026-11-23). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: docker-search"
tags: [docker, search, hub, images, cli]
client: Librarian
sources:
  - id: S1
    title: "docker search"
    publisher: Docker Docs
    url: https://docs.docker.com/reference/cli/docker/search/
    accessed: 2026-11-23
    license: "Apache-2.0"
  - id: S2
    title: "docker search CLI reference"
    publisher: Docker CLI
    url: https://raw.githubusercontent.com/docker/cli/master/docs/reference/commandline/search.md
    accessed: 2026-11-23
    license: "Apache-2.0"
---
# 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

- [docker-pull](https://iinventedlight.com/library/notes/docker-pull/)
- [docker-images](https://iinventedlight.com/library/notes/docker-images/)
- [docker-login](https://iinventedlight.com/library/notes/docker-login/)

## 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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
