Book Image

Docker Certified Associate (DCA): Exam Guide

By : Francisco Javier Ramírez Urea
Book Image

Docker Certified Associate (DCA): Exam Guide

By: Francisco Javier Ramírez Urea

Overview of this book

Developers have changed their deployment artifacts from application binaries to container images, and they now need to build container-based applications as containers are part of their new development workflow. This Docker book is designed to help you learn about the management and administrative tasks of the Containers as a Service (CaaS) platform. The book starts by getting you up and running with the key concepts of containers and microservices. You'll then cover different orchestration strategies and environments, along with exploring the Docker Enterprise platform. As you advance, the book will show you how to deploy secure, production-ready, container-based applications in Docker Enterprise environments. Later, you'll delve into each Docker Enterprise component and learn all about CaaS management. Throughout the book, you'll encounter important exam-specific topics, along with sample questions and detailed answers that will help you prepare effectively for the exam. By the end of this Docker containers book, you'll have learned how to efficiently deploy and manage container-based environments in production, and you will have the skills and knowledge you need to pass the DCA exam.
Table of Contents (22 chapters)
1
Section 1 - Key Container Concepts
8
Section 2 - Container Orchestration
12
Section 3 - Docker Enterprise
17
Section 4 - Preparing for the Docker Certified Associate Exam

Pods, services, and other Kubernetes resources

The pod concept is key to understanding Kubernetes. A pod is a group of containers that run together. It is very simple. All of these containers share a network namespace and storage. It is like a small logical host because we run many processes together, sharing the same IP addresses and volumes. The isolation methods that we learned about in Chapter 1, Modern Infrastructures and Applications with Docker, are applicable here.

Pods

Pods are the smallest scheduling unit in Kubernetes environments. Containers within a pod will share the same IP address and can find each other using localhost. Therefore, assigned ports must be unique within pods. We cannot reuse ports for other containers and inter-process communication because processes will run as if they were executed on the same logical host. A pod's life relies on the healthiness of a container.

Pods can be used to integrate full application stacks, but it is true that they are usually...