Docker search best practices
The docker image repository can be searched up from the command line using the docker search option.
Here a search template to find official docker image of nginx using the docker the search query:
root@node03:~# docker search –filter=stars=500 –filter=is-official=true nginx
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
nginx Official build of Nginx. 13159 [OK]
In the above command we have searched for the official nginx docker image and the images which have atleast 500 stars.
We have constructed the below search string to find the automated builds of php from the cli docker search commands:
root@node03:/home/vamshi# docker search --filter=stars=100 --filter=is-automated=true php NAME DESCRIPTION STARS OFFICIAL AUTOMATED phpmyadmin/phpmyadmin A web interface for MySQL and MariaDB. 1001 [OK] webdevops/php-nginx Nginx with PHP-FPM 157 [OK] webdevops/php-apache-dev PHP with Apache for Development (eg. with xd… 119 [OK] webdevops/php-apache Apache with PHP-FPM (based on webdevops/php) 102 [OK]
It should be observed the docker search command will only output only 25 results. You can make use of the filters to further refine the results to suit your requirement greatly.