A Complete Guide to Docker for Operations and Development: Test-Prep for the Docker Certified Associate (DCA) Exam
- Length: 214 pages
- Edition: 1
- Language: English
- Publisher: Apress
- Publication Date: 2022-05-13
- ISBN-10: 1484281160
- ISBN-13: 9781484281161
- Sales Rank: #0 (See Top 100 Books)
Harness the power of Docker by containerizing your code with all its libraries and file systems to consistently run anywhere. This book is your source for learning all about Docker operations and development. It’s divided into two units and focuses on the topics that the Docker Certified Associate exam covers.
Unit 1 covers the Docker fundamentals, such as Docker Enterprise for Operations, Docker Enterprise for Developers, Swarm, and an introduction to Kubernetes. You will learn how to install Docker Community Edition, Docker Enterprise Edition with Kubernetes and CLI. Also, you will learn the Docker cycle, container lifecycle, develop applications in any language, wrap, build, ship, and deploy them for production. Finally, you will learn how to create a Swarm cluster, deploy an app to it, and manage it with the best practices according to the current technologies.
Unit 2 provides quizzes to help you prepare for the certification test. The DCA exam format and the question style has changed since Mirantis acquired Docker. To accommodate this, the quizzes mirror these changes.
What You’ll Learn
- Understand the difference between containerization and virtualization
- Install Docker CE on various platforms and manage the resources
- Write Dockerfile, Docker Compose YAML, and Kubernetes manifest YAML files
- Compare microservices and monolithic applications
- Containerize monolithic applications
Who This Book Is For
Software developers, Cloud Architects, and DevOps operation managers.
Table of Contents About the Author About the Technical Reviewer Chapter 1: Introduction Who Should Read This Book? How This Book Is Organized Exam Topics What You Will Learn Summary Chapter 2: Installation and Configuration How to Install the Docker CE for Various Operating Systems Difference Between Containerization and Virtualization How to Set Up a Local Registry Configuration of Logging Drivers The Usage of Namespaces and Cgroups How to Set Up a Swarm, Configure Managers, Add Nodes, and Scale Your System First, Build a Simple Swarm of One Manager and One Worker Second, Let Us Scale Up to Five Replicas Summary Chapter 3: Image Creation, Management, and Registry Docker Flow Pulling an Image Crafting a Container Container Lifecycle Create Your First Image Using Commit Using Dockerfile Push Your Images Dockerfile Commands The FROM Instruction The MAINTAINER Instruction The COPY Instruction The ADD Instruction The ENV Instruction The USER Instruction The WORKDIR Instruction The VOLUME Instruction The EXPOSE Instruction The RUN Instruction The CMD Instruction The ENTRYPOINT Instruction The inspect Command Multistage Build Summary Chapter 4: Networking Containers’ Isolated Networking User-Defined Bridge Network Exposing Container Ports Some Differences in Networking Between Windows and Linux Swarm Networking What Is the Best Number of Managers? Datacenter Topology Replicated vs. Global Services Port Publishing Modes Kubernetes Networking Summary Chapter 5: Storage and Volumes Persistent Volumes Ephemeral Volumes Data-Only Volume Filesystem vs. Volume Storage in Kubernetes Summary Chapter 6: Docker Enterprise Edition/Mirantis Kubernetes Engine Installation Installing the Docker EE on Windows Server 2016 Testing the Installation Installing the UCP Step 1: Create the First Virtual Machine Step 2: Initialize a Swarm and Add Nodes Step 3: Install UCP Version 3.0.0 Step 4: Mount Issue Step 5: Reinstall UCP Version 3.0.0 Step 6: Upload the License Step 7: Install Kubernetes CLI Step 8: Install the kubectl Binary via curl Installing the DTR Verify Logging from CLI from Both Nodes Verify DTR Installation from UCP Web UI Summary Chapter 7: Universal Control Plane (UCP) The Interface Different UCP Versions Switching Between Orchestrators Docker Content Trust Summary Chapter 8: Docker Trusted Registry (DTR) Install the DTR from the UCP Enable/Disable Image Scanning Push an Image to the DTR Repository Immutable Images Image Pruning Summary Chapter 9: Microservices Microservices vs. Monolithic Process of Containerizing an App Python Example Java Example .NET Example Extra Resources for .NET Tools Ebook Extra Examples Summary Chapter 10: Orchestration From Development to Production How to Write a Swarm docker-compose YAML File? How to Write a Kubernetes Manifest YAML File? Summary Chapter 11: Security Role-Based Access Control (RBAC) Create a Subject Create a Collection Create a Role Create a Grant Docker Content Trust (DCT) Transport Layer Security (TLS) Summary Chapter 12: DCA Exam Requirements Examination Format Pass the Exam Sections Registration Link and Certification For Online Remotely Proctored Exams Question Types Multiple-Choice Questions Discrete Option Multiple-Choice (DOMC) Questions Extra Resources Chapter 13: Orchestration Quiz Answer Key Chapter 14: Image Creation, Management, and Registry Quiz Answer Key Chapter 15: Installation and Configuration Quiz Answer Key Chapter 16: Networking Quiz Answer Key Chapter 17: Security Quiz Answer Key Chapter 18: Storage and Volumes Quiz Answer Key Index
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/Apress
2. In the Find a repository… box, search the book title: A Complete Guide to Docker for Operations and Development: Test-Prep for the Docker Certified Associate (DCA) Exam
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.