Bootstrap FreeKB - Docker - docker search command
Docker - docker search command

Updated:   |  Docker articles

This assumes you have installed Docker on Linux and Docker is running.

A Docker image contains the code used to create a Docker container, such as creating a Nginx web server, or a mySQL server, or a home grown app, and the list goes on. In this way, an image is like a template used to create a container. An image is kind of like a virtual machine, but much more light weight, using significantly less storage a memory (containers are usually megabytes in size).


The docker search command is used to list images that can be installed. In this example, the docker search command is used to list the mySQL images that can be installed.

docker search mysql


Or to search a specific registry.

docker search

docker search

docker search


Following is an example of what may be returned. Typically, folks are looking to install an official image, thus you are looking at the images that have OK in the OFFICIAL column. You can then use the docker create command to install an image.

INDEX       NAME                                        DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED                             MySQL is a widely used, open-source relati...   9106      [OK]                           MariaDB is a community-developed fork of M...   3217      [OK]                Optimized MySQL Server Docker images. Crea...   674                  [OK]           MySQL 5.7 SQL database server                   67                           Image containing mysql. Optimized to be li...   61                   [OK]               Experimental MySQL Cluster Docker images. ...   61                         REPLACED! Please use   41                   [OK]                     Bitnami MySQL Docker Image                      35                   [OK]                       Base docker image to run a MySQL database ...   34                  Backup MySQL to S3 (supports periodic back...   29                   [OK]                                                              26                   [OK]                 A Mysql container, brought to you by Linux...   24                     MySQL 5.6 SQL database server                   19                              MySQL is a widely used, open-source relati...   17                          MySQL Router provides transparent routing ...   14                           Run a MySQL client from a docker container      13                   [OK]             Back up mysql databases to... anywhere!         10                  DEPRECATED: A Centos7 based MySQL v5.5 ima...   6                    MySQL/MariaDB database backup using cron t...   4                    [OK]          MySQL Employee Sample Database                  4                    [OK]   An APB which deploys RHSCL MySQL                2                    [OK]                    Retagged MySQL, MariaDB and PerconaDB offi...   2                               An image of the MySQL database server main...   1                           A minimal decoupled init container for mysql    0                         Dockerized MySQL Client (5.7) including Cu...   0                    [OK]


Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee


Add a Comment

Please enter c36ec9 in the box below so that we can be sure you are a human.