Docker Mastery: with Kubernetes +Swarm from a Docker Captain

Docker Mastery: with Kubernetes +Swarm from a Docker Captain

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 19.5 Hours | 14.0 GB

Build, test, deploy containers with the best mega-course on Docker, Kubernetes, Compose, Swarm and Registry using DevOps

This is a living course, and will be updated as Docker and Kubernetes features change.

This course is designed to be fast at getting you started but also get you deep into the “why” of things. Simply the fastest and best way to learn the latest container skills. Look at the scope of topics in the Session and see the breadth of skills you will learn.

Some of the many cool things you’ll do in this course:

  • Edit web code on your machine while it’s served up in a container
  • Lock down your apps in private networks that only expose necessary ports
  • Create a 3-node Swarm cluster in the cloud
  • Install Kubernetes and and learn the leading server cluster tools
  • Use Virtual IP’s for built-in load balancing in your cluster
  • Optimize your Dockerfiles for faster building and tiny deploys
  • Build/Publish your own custom application images
  • Learn the differences between Kubernetes and Swarm
  • Create your own image registry
  • Use Swarm Secrets to encrypt your environment configs, even on disk
  • Deploy container updates in a rolling always-up design
  • Create the config utopia of a single set of YAML files for local dev, CI testing, and prod cluster deploys
  • And so much more…

After taking this course, you’ll be able to:

  • Use Docker in your daily developer and/or sysadmin roles
  • Deploy apps to Kubernetes
  • Make Dockerfiles and Compose files
  • Build multi-node Swarm clusters and deploying H/A containers
  • Make Kubernetes YAML manifests and deploy using infrastructure-as-code methods
  • Build a workflow of using Docker in dev, then test/CI, then production with YAML
  • Protect your keys, TLS certificates, and passwords with encrypted secrets
  • Keep your Dockerfiles and images small, efficient, and fast
  • Run apps in Docker, Swarm, and Kubernetes and understand the pros/cons of each
  • Develop locally while your code runs in a container
  • Protect important persistent data in volumes and bind mounts
  • Lead your team into the future with the latest Docker container skills!
Table of Contents

Course Introduction and Docker Intro
1 Course Roadmap (overview)
2 November 2019 Update!
3 Why Docker Why Now
4 Getting Course Resources (GitHub Repo)
5 Course Slack Chat 21k Students Learning Containers
6 YouTube Live Q&A with Bret
7 The Big FAQ

The Best Way to Setup Docker for Your OS
8 Docker Editions Which Do I Use
9 Terminal Shell and Tab Completion for Docker CLI
10 Docker Version Format Change
11 Installing Docker The Fast Way
12 Windows Docker Options
13 Docker for Windows 10 ProEnt Setup and Tips
14 Docker Toolbox for Win7, 8, and 10 Home Setup and Tips
15 Docker for Mac Setup and Tips
16 Docker for Linux Setup and Tips
17 Code or Text Editor for Docker and Compose files

Creating and Using Containers Like a Boss
18 Check Our Docker Install and Config
19 Getting a Shell Inside Containers No Need for SSH
20 Docker Networks Concepts for Private and Public Comms in Containers
21 FIXME Change In Official Nginx Image Removes Ping
22 Docker Networks CLI Management of Virtual Networks
23 Docker Networks DNS and How Containers Find Each Other
24 Assignment Using Containers for CLI Testing
25 Assignment Answers Using Containers for CLI Testing
26 Assignment DNS Round Robin Test
27 Assignment Answers DNS Round Robin Test
28 Starting a Nginx Web Server
29 Debrief What Happens When We Run a Container
30 Container VS. VM It’s Just a Process
31 Windows Containers Docker Is No Longer Just Linux
32 Assignment Manage Multiple Containers
33 Assignment Answers Manage Multiple Containers
34 What’s Going On In Containers CLI Process Monitoring

Container Images, Where To Find Them and How To Build Them
35 What’s In An Image (and What Isn’t)
36 Assignment Answers Build Your Own Dockerfile and Run Containers From It
37 Using Prune to Keep Your Docker System Clean (YouTube)
38 The Mighty Hub Using Docker Hub Registry Images
39 Images and Their Layers Discover the Image Cache
40 Image Tagging and Pushing to Docker Hub
41 Building Images The Dockerfile Basics
42 Building Images Running Docker Builds
43 Building Images Extending Official Images
44 Assignment Build Your Own Dockerfile and Run Containers From It

Container Lifetime & Persistent Data Volumes, Volumes, Volumes
45 Container Lifetime & Persistent Data
46 Database Passwords in Containers
47 Persistent Data Data Volumes
48 Shell Differences for Path Expansion
49 Persistent Data Bind Mounting
50 Assignment Database Upgrades with Named Volumes
51 Assignment Answers Database Upgrades with Named Volumes
52 Assignment Edit Code Running In Containers With Bind Mounts
53 Assignment Answers Edit Code Running In Containers With Bind Mounts

Making It Easier with Docker Compose The Multi-Container Tool
54 Docker Compose and The docker-compose.yml File
55 Trying Out Basic Compose Commands
56 Assignment Build a Compose File For a Multi-Container Service
57 Assignment Answers Build a Compose File For a Multi-Container Service
58 Adding Image Building to Compose Files
59 Assignment Compose For Run-Time Image Building and Multi-Container Development
60 Assignment Answers Compose For Run-Time Image Building and Multi-Container Dev

Swarm Intro and Creating a 3-Node Swarm Cluster
61 Swarm Mode Built-In Orchestration
62 Create Your First Service and Scale It Locally
63 UI Change For Service CreateUpdate
64 Docker Machine Bug With Swarm
65 Creating a 3-Node Swarm Cluster

Swarm Basic Features and How to Use Them In Your Workflow
66 Scaling Out with Overlay Networking
67 Assignment Create A Stack with Secrets and Deploy
68 Assignment Answers Create A Stack with Secrets and Deploy
69 Scaling Out with Routing Mesh
70 Assignment Create A Multi-Service Multi-Node Web App
71 Assignment Answers Create A Multi-Service Multi-Node Web App
72 Swarm Stacks and Production Grade Compose
73 Secrets Storage for Swarm Protecting Your Environment Variables
74 Using Secrets in Swarm Services
75 Using Secrets with Swarm Stacks

Swarm App Lifecycle
76 Using Secrets With Local Docker Compose
77 Full App Lifecycle Dev, Build and Deploy With a Single Compose Design
78 Service Updates Changing Things In Flight
79 Healthchecks in Dockerfiles
80 Info on Swarm Mastery

Container Registries Image Storage and Distribution
81 Docker Hub Digging Deeper
82 Understanding Docker Registry
83 Run a Private Docker Registry
84 Assignment Secure Docker Registry With TLS and Authentication
85 Using Docker Registry With Swarm
86 Third Party Image Registries

Docker in Production
87 My DockerCon Talk on Docker and Swarm in Production
88 The Future of Swarm
89 Swarm Raft Quorum and Recovery (Laura Frank from DockerCon 2017)

The What and Why of Kubernetes
90 Kubernetes Intro
91 What Is Kubernetes
92 Why Kubernetes
93 Kubernetes vs Swarm

Kubernetes Install And Your First Pods
94 Section Intro
95 Kubernetes Architecture Terminology
97 Kubernetes Local Install
98 Kubernetes Container Abstractions
99 Kubectl run, create, and apply
101 Our First Pod With kubectl run
102 Scaling ReplicaSets
103 Inspecting Kubernetes Objects

Exposing Kubernetes Ports
104 Section Intro
105 Service Types
106 Creating a ClusterIP Service
107 Creating a NodePort and LoadBalancer Service
108 Kubernetes Services DNS

Kubernetes Management Techniques
109 Section Intro
110 Run, Expose, and Create Generators
111 The Future of Kubectl Run
112 Imperative vs. Declarative
113 Three Management Approaches

Moving to Declarative Kubernetes YAML
114 Section Intro
115 Kubectl apply
116 Kubernetes Configuration YAML
117 Building Your YAML Files
118 Building Your YAML Spec
119 Dry Runs and Diff’s
120 Labels and Label Selectors

Your Next Steps and The Future of Kubernetes
121 Section Intro
122 Storage in Kubernetes
123 Ingress
124 CRD’s and The Operator Pattern
125 Higher Deployment Abstractions
126 Kubernetes Dashboard
127 Namespaces and Context
128 Future of Kubernetes

Docker Security Good Defaults and Tools
129 Section Intro Top 10 Security Steps for Docker
130 The Security Top 10 Differences for Windows Containers
131 What are Distroless Images
132 Are Swarm and Kubernetes Secrets Really Secure
133 Docker Cgroups and Namespaces
134 Docker Engine’s Out-Of-The-Box Security Features
135 Docker Bench, The Host Configuration Scanner
136 Using USER in Dockerfiles to Avoid Running as Root
137 Docker User Namespaces for Extra Host Security
138 Code Repo and Image Scanning for CVE’s
139 Sysdig Falco, Content Trust, and Custom Seccomp and AppArmor Profiles
140 Docker Rootless Mode

Docker 19.03 Release New Features
141 Section Intro
142 BuildKit and the new Docker buildx CLI
143 Docker Context and SSH Connections
144 Docker App and Image Packaging of Compose YAML
145 Rootless Mode in Docker Engine
146 Docker Desktop Enterprise
147 Docker Desktop Enterprise Clusters

DevOps and Docker Clips
148 DevOps and Docker Talk Intro
149 Should You Use Docker Compose or Swarm For A Single Server
150 Docker Environment Configs, Variables, and Entrypoints
151 Java and JBoss in Containers. One .war File Per Container
152 TLS in Dev and Prod with Docker
153 Multiple Docker Images From One Git Repo
154 Docker + ARM, Using Raspberry Pi or AWS A1 Instances with Docker
155 Docker and Swarm RBAC Options
156 ENTRYPOINT vs. CMD, what’s the difference in Dockerfiles
157 How to Use External Storage in Docker
158 Can I Turn a VM into a Container
159 Alpine Base Images. Are They Really More Secure
160 Startup Order With Multi-Container Apps
161 Dealing With Non-root Users In Containers and File Permissions
162 Apache Web Server Design. Many Sites In One Container, or Many Containers
163 Docker Network IP Subnet Conflicts with Outside Networks
164 Raspberry Pi Development in Docker
165 Windows 10 Containers Get Process Isolation
166 Should You Move Postgres to Containers
167 Using Supervisor To Run Multiple Apps In A Container

Dockerfile and Compose File Reviews
168 Section Intro – My Reviews Of Your Dockerfiles
169 Real World PHP Dockerfile Review
170 Real World PHP, Apache, and Alpine Dockerfile Review
171 Real World PHP and FPM Dockerfile Review
172 Real World Elasticsearch Compose Stack File

Extra’s, Common Questions, and Resources
173 Node.js Good Defaults For Docker
174 PHP and Docker Good Defaults Project Template
175 About the DCA (Docker Certificated Associate)
176 Bonus