Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Title Page
Copyright and Credits
Docker Certified Associate (DCA): Exam Guide
Dedication
About Packt
Why subscribe?
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Code in Action
Download the color images
Conventions used
Get in touch
Reviews
Section 1 - Key Container Concepts
Modern Infrastructures and Applications with Docker
Technical requirements
Understanding the evolution of applications
Infrastructures
Processes
Microservices and processes
What are containers?
Learning about the main concepts of containers
Container runtime
Images
Containers
Process isolation
Orchestration
Registry
Docker components
Docker daemon
Docker client
Docker objects
Building, shipping, and running workflows
Building
Shipping
Running
Windows containers
Customizing Docker
Customizing the Docker daemon
Docker client customization
Docker security
Docker client-server security
Docker daemon security
Namespaces
User namespace
Kernel capabilities (seccomp)
Linux security modules
Docker Content Trust
Chapter labs
Installing the Docker runtime and executing a "hello world" container
Docker runtime processes and namespace isolation
Docker capabilities
Summary
Questions
Further reading
Building Docker Images
Technical requirements
Building Docker images
Creating images with Dockerfiles
Creating images interactively
Creating images from scratch
Understanding copy-on-write filesystems
Building images with a Dockerfile reference
Dockerfile quick reference
Building process actions
Image tagging and meta-information
Docker registries and repositories
Securing images
Managing images and other related objects
Listing images
Sharing images using registries
Multistage building and image caches
Templating images
Image releases and updates
Chapter labs
Docker build caching
Where to use volumes in Dockerfiles
Multistage building
Deploying a local registry
Image templating using Dockerfiles
Summary
Questions
Further reading
Running Docker Containers
Technical requirements
Reviewing the Docker command line in depth
Learning about Docker objects
Running containers
Main container actions
Container network properties
Container behavior definition
Executing containers
Container security options
Using host namespaces
Interacting with containers
Limiting host resources
Converting containers into images
Formatting and filtering information
Managing devices
Chapter labs
Reviewing Docker command-line object options
Executing containers
Limiting container resources
Formatting and filtering container list output
Summary
Questions
Further reading
Container Persistency and Networking
Technical requirements
Understanding stateless and stateful containers
Learning how volumes work
Learning about volume object actions
Using volumes in containers
Learning about different persistence strategies
Local persistence
Distributed or remote volumes
Networking in containers
Using the default bridge network
Understanding null networks
Understanding the host network
Creating custom bridge networks
The MacVLAN network – macvlan
Learning about container interactions
Communication with the external world
Inter-container communications
DNS on custom bridge networks
Publishing applications
Chapter labs
Using volumes to code on your laptop
Mounting SSHFS
Multi-homed containers
Publishing applications
Summary
Questions
Further reading
Deploying Multi-Container Applications
Technical requirements
Installing and using Docker Compose
Installing docker-compose as a Python module
Installing docker-compose using downloaded binaries
Executing docker-compose using a container
Installing docker-compose on Windows servers
Understanding the docker-compose.yaml file
Using the Docker Compose command-line interface
Customizing images with docker-compose
Automating your desktop and CI/CD with Docker Compose
Chapter labs
Colors application lab
Executing a red application
Scaling the red application's backends
Adding more colors
Adding a simple load balancer
Summary
Questions
Further reading
Introduction to Docker Content Trust
Technical requirements
The Update Framework
Signing images
Reviewing signatures
Creating and running applications in trusted environments
Chapter labs
Signing images for Docker Hub
Summary
Questions
Further reading
Section 2 - Container Orchestration
Introduction to Orchestration
Introducing orchestration concepts
Learning about container orchestration
Scheduling applications cluster-wide
Managing data and persistency
Scaling and updating application components
Summary
Questions
Further reading
Orchestration Using Docker Swarm
Technical requirements
Deploying Docker Swarm
Docker Swarm overall architecture
Management plane
Control plane
Data plane
Deploying a Docker Swarm cluster using the command line
Deploying Docker Swarm with high availability
Creating a Docker Swarm cluster
Recovering a faulty Docker Swarm cluster
Backing up your Swarm
Recovering your Swarm
Scheduling workloads in the cluster – tasks and services
Deploying applications using Stacks and other Docker Swarm resources
Secrets
Config
Stacks
Networking in Docker Swarm
Service discovery and load balancing
Bypassing the router mesh
Using host mode
Using Round-Robin DNS mode
Chapter labs
Creating a Docker Swarm cluster
Deploying a simple replicated service
Deploying a global service
Updating a service's base image
Deploying using Docker Stacks
Swarm ingress internal load balancing
Service discovery
Summary
Questions
Further reading
Orchestration Using Kubernetes
Technical requirements
Deploying Kubernetes using Docker Engine
Deploying a Kubernetes cluster with high availability
Pods, services, and other Kubernetes resources
Pods
Services
ConfigMaps and secrets
Namespaces
Persistent volumes
Deploying orchestrated resources
Kubernetes networking
Service discovery
Load balancing
Network policies
Publishing applications
Kubernetes security components and features
Comparing Docker Swarm and Kubernetes side by side
Chapter labs
Deploying applications in Kubernetes
Using volumes
Summary
Questions
Further reading
Section 3 - Docker Enterprise
Introduction to the Docker Enterprise Platform
Reviewing the Docker editions
Docker Community
Docker Enterprise
Understanding CaaS
The Docker Enterprise platform
Docker Engine
Universal Control Plane
Docker Trusted Registry
Planning your Docker Enterprise deployment
Summary
Questions
Further reading
Universal Control Plane
Technical requirements
Understanding UCP components and features
UCP components on manager nodes
UCP components on worker nodes
Deploying UCP with high availability
Reviewing the Docker UCP environment
The web UI
The command line using the UCP bundle
Role-based access control and isolation
UCP's Kubernetes integration
UCP administration and security
Backup strategies
Docker Swarm's backup
Backing up UCP
Upgrades, monitoring, and troubleshooting
Upgrading your environment
Monitoring a cluster's health
Troubleshooting UCP
Troubleshooting UCP-KV
Troubleshooting UCP-Auth
Troubleshooting nodes
Summary
Questions
Further reading
Publishing Applications in Docker Enterprise
Technical requirements
Understanding publishing concepts and components
Understanding an application's logic
Publishing applications in Kubernetes using ingress controllers
Using Interlock to publish applications deployed in Docker Swarm
Reviewing Interlock usage
Simple application redirection
Publishing a service securely using Interlock with TLS
Summary
Questions
Further reading
Implementing an Enterprise-Grade Registry with DTR
Technical requirements
Understanding DTR components and features
Deploying DTR with high availability
Learning about RBAC
Image scanning and security features
Security scanning
Image immutability
Content trust in DTR
Integrating and automating image workflow
Image promotion
DTR webhooks
Mirror images between registries
Registry caching
Garbage collection
Backup strategies
Updates, health checks, and troubleshooting
Logging
DTR disaster recovery
Some replicas are unhealthy, but we keep the cluster's quorum's state
The majority of replicas are unhealthy
All replicas are unhealthy
Summary
Questions
Further reading
Section 4 - Preparing for the Docker Certified Associate Exam
Summarizing Important Concepts
Reviewing orchestration concepts
Required knowledge for the exam
A brief summary of Docker image concepts
Required image management knowledge for the exam
A summary of the Docker architecture, installation, and configuration topics
The knowledge required about the Docker platform for the exam
A summary of the networking topics
The Docker networking knowledge required for the exam
Understanding security concepts and related Docker features
The knowledge of Docker security required for the exam
Quickly summarizing Docker storage and volumes
The storage and volume knowledge required for the exam
Summary
Mock Exam Questions and Final Notes
Docker Certified Associate exam details
Mock exam questions
Summary
Assessments
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
Chapter 12
Chapter 13
Exam answers
Other Books You May Enjoy
Leave a review - let other readers know what you think
← Prev
Back
Next →
← Prev
Back
Next →