English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Docker search command

Docker Command大全

docker search : Search for images on Docker Hub

Syntax

docker search [OPTIONS] TERM

OPTIONS description:

  • --automated :Only list images of automated build type;

  • --no-trunc :Display the full image description;

  • -f <filter condition>:List images with favorites count not less than the specified value.

Online examples

Search all images on Docker Hub that contain java and have more than 10 of the image

w3codebox@w3codebox:~$ 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 the docker image of CentOS 7...   13                 [OK]

Parameter Description:

NAME: Name of the image repository source

DESCRIPTION: Description of the image

OFFICIAL: Whether it is an official Docker release

stars: Similar to the star in Github, it means to like or favor.

AUTOMATED: Automated build.

Docker Command大全