Book Image

Docker Bootcamp

By : Russ McKendrick, Pethuru Raj, Jeeva S. Chelladhurai, Vinod Singh
Book Image

Docker Bootcamp

By: Russ McKendrick, Pethuru Raj, Jeeva S. Chelladhurai, Vinod Singh

Overview of this book

<p>Docker allows you to create a robust and resilient environment to generate portable, composable, scalable, and stable application containers.</p> <p>The book starts by installing the core Docker Engine on MacOS, Windows 10 and Linux desktops. We will then define multi-container applications and understand the advantages of using containers locally. Once this is done, we will deploy containers on a single Docker host which is publicly accessible. Furthermore, we will learn how to deploy and configure a Docker Swarm cluster and explore networking and storage third-party plugins to extend the core Docker functionality. Towards the end, the book will demonstrate how to monitor and troubleshoot day-to-day problems in addition to various real world examples of container deployments.</p>
Table of Contents (15 chapters)

Virtual Machines versus containers


Containers quite drastically vary from the highly visible and viable virtual machines (VMs). Virtual machines represent hardware virtualization whereas containers facilitate operating system-level virtualization. Some literature points out that virtual machines are system or OS containers whereas containers typically stand for application containers.

On the functional side, containers are like VMs, but there are dissimilar in many other ways. Like virtual machines, containers too share the various system resources such as processing, memory, storage, etc. The key difference is that all containers in a host machine share the same OS kernel of the host operating system.

Though there is heavy sharing, containers intrinsically maintain a high isolation by keeping applications, runtimes, and other associated services separated from each other using the recently incorporated kernel features such as namespaces and cgroups.

On the resource provisioning front, application...