Docker search Command
docker search: Search for images on Docker Hub
Syntax
docker search [OPTIONS] TERM
OPTIONS Description:
-
--automated: Only show automated build type images;
-
--no-trunc: Display the full image description;
-
-f <filter condition>: List images with at least the specified number of stars.
Example
Search Docker Hub for all images with the name containing "java" and at least 10 stars
tutorialpro@tutorialpro:~$ docker search -f stars=10 java
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
java Java is a concurrent, class-based... 1037 [OK]
anapsix/alpine-java Oracle Java 8 (and 7) with GLIBC ... 115 [OK]
develar/java 46 [OK]
isuper/java-oracle This repository contains all java... 38 [OK]
lwieske/java-8 Oracle Java 8 Container - Full + ... 27 [OK]
nimmis/java-centos This is docker images of CentOS 7... 13 [OK]
Parameter Description:
NAME: Name of the image repository source
DESCRIPTION: Description of the image
OFFICIAL: Whether it is released by Docker official
stars: Similar to stars on Github, indicating likes or favorites.
AUTOMATED: Automated build.