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

Docker registry, repository and index


Docker utilizes a hierarchical system for storing images, as shown in the following diagram:

The first component in this system is the registry. The images you build will be stored in a remote registry for others to use. Docker registry is a service (an application, in fact) that stores your Docker images. Docker Hub is an example of the publicly available registry - it's free and serves a huge, constantly growing collection of existing images. We are going to cover Docker Hub in detail in Chapter 5, Finding Images. There are, of course, other registries available on the Internet, such as Artifactory (https://www.jfrog.com/artifactory), Google Container Registry (https://cloud.google.com/container-registry), and Quay (https://quay.io).

The repository, on the other hand, is a collection (namespace) of related images, usually providing different versions of the same application or service. In other words, it is a collection of different docker images with...