Skip to main content

Searching

Searching for Docker images, as described in Searching for Components, finds any images stored in local repositories; either in a hosted repository or proxied from an upstream public repository.

The docker client is preconfigured to search and find images only from Docker Hub.

When directing the docker client to a group repository in Nexus Repository, the docker client may search both local images and those found in Docker Hub.

To search the public repository use the Docker client command line:

The following example of using the Docker client command line to search for a postgres image running on the host nexus.example.com. In this example, the group repository is exposed through the repository connector port of 18443.

docker search nexus.example.com:18443/postgres

The results include images found in the repositories that are part of the repository group.