Book Image

Developing with Docker

By : Jaroslaw Krochmalski, Jarosław Krochmalski
Book Image

Developing with Docker

By: Jaroslaw Krochmalski, Jarosław Krochmalski

Overview of this book

This fast-paced practical guide will get you up and running with Docker. Using Docker, you will be able to build, ship, and run many distributed applications in real time. You will start with quickly installing Docker and start working with images and containers. We will present different types of containers and their applications, and show you how to find and build images. You will learn how you can contribute to the image repository by publishing different images. This will familiarize you with the image building process and you will be able to successfully run your programs within containers. By finishing this book, you will be well equipped in deploying your applications using Docker and will have a clear understanding of concepts, techniques, and practical methods to get it running in production systems.
Table of Contents (16 chapters)
Developing with Docker
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

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 are certified repositories from vendors and contributors to Docker such as Red Hat, Oracle, and Canonical. And of course, you can use them to build your own applications and services. An example of the official images can be the most...