Searching for images
To effectively search for a specific image, first we need to understand the Docker image naming schema and tags concept. We have already mentioned it before; let's look at it now in detail.
Image naming and tags
The full image name has the following syntax:
{registry_host}/(_|/{user_or_org_namespace})/{repository}:{tag}
Let's explore it in detail, image names start with a namespace and a slash. For example, the image named hello-world
created and uploaded by user tutum
(which is an Apache image responding with hello-world
message on port 80
, by the way) will begin with this part: tutum/hello-world
.
There can also be images with no namespace prefix-these will be images from the so-called official repositories. The official repositories ...
Get Developing with Docker now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.