1.Introduction to docker search
The docker search command is used to find images from the docker repository
2.docker search usage
docker search [parameter] TERM
[root@centos79 ~]# docker search --help
Usage: docker search [OPTIONS] TERM
Search Docker Hub for images
Options:
-f, --filter filter Filter output based on conditions provided
--format string Pretty-print search using a Go template
--limit int Max number of search results
--no-trunc Don't truncate output
[root@centos79 ~]#
3.Examples
3.1. Search for the specified image
Order:
docker search nginx
[root@centos79 ~]# docker search nginx
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
nginx Official build of Nginx. 19298 [OK]
unit Official build of NGINX Unit