% podman-search 1 ## NAME podman\-search - Search a registry for an image ## SYNOPSIS **podman search** [*options*] *term* ## DESCRIPTION **podman search** searches a registry or a list of registries for a matching image. The user can specify which registry to search by prefixing the registry in the search term (e.g., **registry.fedoraproject.org/fedora**). By default, all unqualified-search registries in `containers-registries.conf(5)` are used. The default number of results is 25. The number of results can be limited using the **--limit** flag. If more than one registry is being searched, the limit is applied to each registry. The output can be filtered using the **--filter** flag. To get all available images in a registry without a specific search term, the user can just enter the registry name with a trailing "/" (example **registry.fedoraproject.org/**). Note that **podman search** is not a reliable way to determine the presence or existence of an image. The search behavior of the v1 and v2 Docker distribution API is specific to the implementation of each registry. Some registries may not support searching at all. Further note that searching without a search term only works for registries that implement the v2 API. **podman [GLOBAL OPTIONS]** **podman search [GLOBAL OPTIONS]** **podman search [OPTIONS] TERM** ## OPTIONS @@option authfile @@option cert-dir #### **--compatible** After the name and the description, also show the stars, official and automated descriptors as Docker does. Podman does not show these descriptors by default since they are not supported by most public container registries. @@option creds #### **--filter**, **-f**=*filter* Filter output based on conditions provided (default []) Supported filters are: * stars (int - number of stars the image has) * is-automated (boolean - true | false) - is the image automated or not * is-official (boolean - true | false) - is the image official or not #### **--format**=*format* Change the output format to a Go template Valid placeholders for the Go template are listed below: | **Placeholder** | **Description** | | --------------- | ---------------------------- | | .Automated | "[OK]" if image is automated | | .Description | Image description | | .Index | Registry | | .Name | Image name | | .Official | "[OK]" if image is official | | .Stars | Star count of image | | .Tag | Repository tag | Note: use .Tag only if the --list-tags is set. #### **--help**, **-h** Print usage statement #### **--limit**=*limit* Limit the number of results (default 25). Note: The results from each registry is limited to this value. Example if limit is 10 and two registries are being searched, the total number of results is 20, 10 from each (if there are at least 10 matches in each). The order of the search results is the order in which the API endpoint returns the results. #### **--list-tags** List the available tags in the repository for the specified image. **Note:** --list-tags requires the search term to be a fully specified image name. The result contains the Image name and its tag, one line for every tag associated with the image. #### **--no-trunc** Do not truncate the output (default *false*). @@option tls-verify ## EXAMPLES Search for images containing the specified name, returning the first three images from each defined registry. ``` $ podman search --limit 3 fedora NAME DESCRIPTION NAME DESCRIPTION registry.fedoraproject.org/f29/fedora-toolbox registry.fedoraproject.org/f30/fedora-toolbox registry.fedoraproject.org/f31/fedora-toolbox docker.io/library/fedora Official Docker builds of Fedora docker.io/kasmweb/fedora-37-desktop Fedora 37 desktop for Kasm Workspaces docker.io/kasmweb/fedora-38-desktop Fedora 38 desktop for Kasm Workspaces quay.io/fedora/fedora quay.io/containerdisks/fedora # Fedora Containerdisk Images