Muutke küpsiste eelistusi

E-raamat: Complete Guide to Docker for Operations and Development: Test-Prep for the Docker Certified Associate (DCA) Exam

  • Formaat: PDF+DRM
  • Ilmumisaeg: 28-Apr-2022
  • Kirjastus: APress
  • Keel: eng
  • ISBN-13: 9781484281178
  • Formaat - PDF+DRM
  • Hind: 61,74 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: PDF+DRM
  • Ilmumisaeg: 28-Apr-2022
  • Kirjastus: APress
  • Keel: eng
  • ISBN-13: 9781484281178

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

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. Its 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 Youll 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.
About the Author xi
About the Technical Reviewer xiii
Part I Docker Fundamentals
1(168)
Chapter 1 Introduction
3(4)
Who Should Read This Book?
3(1)
How This Book Is Organized
3(1)
Exam Topics
4(1)
What You Will Learn
4(1)
Summary
5(2)
Chapter 2 Installation and Configuration
7(8)
How to Install the Docker CE for Various Operating Systems
8(1)
Difference Between Containerization and Virtualization
9(1)
How to Set Up a Local Registry
9(1)
Configuration of Logging Drivers
10(1)
The Usage of Namespaces and Cgroups
11(1)
How to Set Up a Swarm, Configure Managers, Add Nodes, and Scale Your System
11(2)
First, Build a Simple Swarm of One Manager and One Worker
11(1)
Second, Let Us Scale Up to Five Replicas
12(1)
Summary
13(2)
Chapter 3 Image Creation, Management, and Registry
15(20)
Docker Flow
15(14)
Pulling an Image
16(2)
Crafting a Container
18(3)
Container Lifecycle
21(2)
Create Your First Image
23(4)
Push Your Images
27(2)
Dockerfile Commands
29(4)
The FROM Instruction
30(1)
The MAINTAINER Instruction
30(1)
The COPY Instruction
30(1)
The ADD Instruction
30(1)
The ENV Instruction
31(1)
The USER Instruction
31(1)
The WORKDIR Instruction
31(1)
The VOLUME Instruction
31(1)
The EXPOSE Instruction
32(1)
The RUN Instruction
32(1)
The CMD Instruction
32(1)
The ENTRYPOINT Instruction
33(1)
The inspect Command
33(1)
Multistage Build
34(1)
Summary
34(1)
Chapter 4 Networking
35(20)
Containers' Isolated Networking
35(2)
User-Defined Bridge Network
37(4)
Exposing Container Ports
41(5)
Some Differences in Networking Between Windows and Linux
44(2)
Swarm Networking
46(6)
What Is the Best Number of Managers?
50(1)
Datacenter Topology
51(1)
Replicated vs. Global Services
51(1)
Port Publishing Modes
51(1)
Kubernetes Networking
52(1)
Summary
53(2)
Chapter 5 Storage and Volumes
55(12)
Persistent Volumes
55(3)
Ephemeral Volumes
58(2)
Data-Only Volume
60(2)
Filesystem vs. Volume
62(1)
Storage in Kubernetes
63(2)
Summary
65(2)
Chapter 6 Docker Enterprise Edition/Mirantis Kubernetes Engine Installation
67(20)
Installing the Docker EE on Windows Server 2016
68(1)
Testing the Installation
68(1)
Installing the UCP
69(11)
Step 1 Create the First Virtual Machine
70(2)
Step 2 Initialize a Swarm and Add Nodes
72(1)
Step 3 Install UCP Version 3.0.0
73(1)
Step 4 Mount Issue
74(1)
Step 5 Reinstall UCP Version 3.0.0
74(2)
Step 6 Upload the License
76(1)
Step 7 Install Kubernetes CLI
76(2)
Step 8 Install the kubectl Binary via curl
78(2)
Installing the DTR
80(5)
Verify Logging from CLI from Both Nodes
82(2)
Verify DTR Installation from UCP Web Ul
84(1)
Summary
85(2)
Chapter 7 Universal Control Plane (UCP)
87(8)
The Interface
88(1)
Different UCP Versions
89(1)
Switching Between Orchestrators
90(2)
Docker Content Trust
92(1)
Summary
93(2)
Chapter 8 Docker Trusted Registry (DTR)
95(10)
Install the DTR from the UCP
95(6)
Enable/Disable Image Scanning
101(1)
Push an Image to the DTR Repository
101(1)
Immutable Images
102(1)
Image Pruning
103(1)
Summary
103(2)
Chapter 9 Microservices
105(16)
Microservices vs. Monolithic
105(2)
Process of Containerizing an App
107(1)
Python Example
108(6)
Java Example
114(3)
.NET Example
117(1)
Extra Resources for NET Tools
117(1)
Ebook
118(1)
Extra Examples
118(1)
Summary
119(2)
Chapter 10 Orchestration
121(14)
From Development to Production
121(2)
How to Write a Swarm docker-compose YAML File?
123(4)
How to Write a Kubernetes Manifest YAML File?
127(7)
Summary
134(1)
Chapter 11 Security
135(28)
Role-Based Access Control (RBAC)
135(21)
Create a Subject
136(6)
Create a Collection
142(8)
Create a Role
150(2)
Create a Grant
152(4)
Docker Content Trust (DCT)
156(4)
Transport Layer Security (TLS)
160(1)
Summary
161(2)
Chapter 12 DCA Exam Requirements
163(6)
Examination Format
163(1)
Pass the Exam Sections
163(1)
Registration Link and Certification
164(1)
For Online Remotely Proctored Exams
164(1)
Question Types
165(1)
Multiple-Choice Questions
165(1)
Discrete Option Multiple-Choice (DOMC) Questions
165(1)
Extra Resources
166(3)
Part II Exam Prep Quizzes
169(28)
Chapter 13 Orchestration Quiz
171(4)
Answer Key
174(1)
Chapter 14 Image Creation, Management, and Registry Quiz
175(4)
Answer Key
178(1)
Chapter 15 Installation and Configuration Quiz
179(6)
Answer Key
183(2)
Chapter 16 Networking Quiz
185(6)
Answer Key
189(2)
Chapter 17 Security Quiz
191(2)
Answer Key
192(1)
Chapter 18 Storage and Volumes Quiz
193(4)
Answer Key
196(1)
Index 197
Engy Fouda is an adjunct lecturer at Suny New Paltz University. She also teaches SAS, Docker Fundamentals, Docker for Enterprise Developers, Docker for Enterprise Operations, and Kubernetes at a Microsoft Training Partner, ONLC Training Centers, and at several other venues as a freelance instructor. She is an Apress and Packt Publishing author.  Moreover, she has more than 20 years of experience passing technical certificates. All her students always pass the certifications from the first try. She holds two masters degrees, one in journalism with a Data Science Professional Graduate Certificate from Harvard University, Extension School, and another in computer engineering from Cairo University, Egypt.