Docker Mastery: The Complete Toolset From a Docker Captain

Docker Mastery: The Complete Toolset From a Docker Captain
Docker Mastery: The Complete Toolset From a Docker Captain

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 12.5 Hours | 6.72 GB
eLearning | Skill level: All Levels


Build, compose, deploy, and manage Docker containers from development to DevOps based Swarm clusters

Be ready for the Dockerized future with the number ONE Docker course on Udemy. Welcome to the most complete and up-to-date course for learning and using Docker end-to-end, from development and testing, to deployment and production. Taught by an award-winning Docker Captain and DevOps consultant.

Just starting out with Docker? Perfect. This course starts out assuming you’re new to containers.

Or: Using Docker now and need to deal with real-world problems? I’m here for you! See my production topics around Swarm, secrets, logging, rolling upgrades, and more.

BONUS: This course comes with Slack Chat and Live Weekly Q&A with me!

Why should you learn from me? Why trust me to teach you the best ways to use Docker? (Hi, I’m Bret, please allow me to talk about myself for a sec):

I’m A Practitioner. Welcome to the real world: I’ve got 20 years of sysadmin and developer experience, over 30 certifications, and have been using Docker and the container ecosystem for my consulting clients and my own companies since Docker’s early days. Learn from someone who’s run hundreds of containers across dozens of projects and organizations.

I’m An Educator. Learn from someone who knows how to make a syllabus: I want to help you. People say I’m good at it. For the last few years I’ve trained thousands of people on using Docker in workshops, conferences and meetups. See me teach at events like DockerCon, O’Reilly Velocity, GOTO Conf, and Linux Open Source Summit. I hope you’ll decide to learn with me, and join the fantastic online Docker community.

I Lead Communities. Also, I’m a Docker Captain, meaning that Docker Inc. thinks I know a thing or two about Docker and that I do well in sharing it with others. In the real-world: I help run two local meetups in our fabulous tech community in Norfolk/Virginia Beach USA. I help online: usually in Slack and Twitter, where I learn from and help others.

“There are a lot of Docker courses on Udemy — but ignore those, Bret is the single most qualified person to teach you.” – Kevin Griffin, Microsoft MVP

Giving Back: a portion of my profit on this course will be donated to supporting open source and protecting our freedoms online! This course is only made possible by the amazing people creating open source. I’m standing on the shoulders of (open source) giants! Donations will be split between my favorite charities including the Electronic Frontier Foundation and Free Software Foundation. Look them up. They’re awesome!

This is a living course, and will be updated as Docker features and workflows 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 docker skills. Look at the scope of topics in the Session and see the breadth of skills you will learn.

Also included is a private Slack Chat group for getting help with this course and continuing your Docker and DevOps learning with help from myself and other students.

“Bret’s course is a level above all of those resources, and if you’re struggling to get a handle on Docker, this is the resource you need to invest in.” – Austin Tindle, Course Student

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
  • 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
  • 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
  • Make Dockerfiles and Compose files
  • Build multi-node Swarm clusters and deploying H/A containers
  • 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
  • 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!

Extra things that come with this course:

  • Access to the course Slack team, for getting help/advice from me and other students.
  • Bonus videos I put elsewhere like YouTube, linked to from this courses resources.
  • Weekly Live Q&A on YouTube Live.
  • Tons of reference links to supplement this content.
  • Updates to content as Docker changes their features on these topics.
  • Monthly new videos on popular questions from students.

What you’ll learn

  • How to use Docker and Compose on your machine for better software building and testing.
  • Learn Docker’s official tools from an award-winning Docker Captain!
  • Learn faster with included live chat group (17,000 members!) and weekly live Q&A.
  • Skills to build advanced development environments with your code running in containers.
  • Build a fancy multi-node Swarm cluster for production deployments!
  • Hand’s-on with best practices for making Dockerfiles and Compose files like a Pro!
  • Build and publish your own custom images.
  • Create your own custom image registry to store your apps and deploy in corporate environments.
+ Table of Contents

Course Introduction and Docker Intro
1 June 2019 Update!
2 Course Roadmap (overview)
3 Why Docker Why Now
4 Let’s Meet Bret!
5 Getting Course Resources (GitHub Repo)
6 Course Slack Room Chat Live With Me and Other Students
7 Weekly YouTube Live Q&A with Bret
8 The Big FAQ

The Best Way to Setup Docker for Your OS
9 Docker Editions Which Do I Use
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
18 Terminal Shell and Tab Completion for Docker CLI

Creating and Using Containers Like a Boss
19 Check Our Docker Install and Config
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
35 Getting a Shell Inside Containers No Need for SSH

Container Images, Where To Find Them and How To Build Them
36 What’s In An Image (and What Isn’t)
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
45 Assignment Answers Build Your Own Dockerfile and Run Containers From It

Container Lifetime & Persistent Data Volumes, Volumes, Volumes
46 Container Lifetime & Persistent Data
47 Persistent Data Data Volumes
48 Persistent Data Bind Mounting
49 Assignment Database Upgrades with Named Volumes
50 Assignment Answers Database Upgrades with Named Volumes
51 Assignment Edit Code Running In Containers With Bind Mounts
52 Assignment Answers Edit Code Running In Containers With Bind Mounts

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

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

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

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

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

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

DevOps and Docker Clips
89 DevOps and Docker Talk Intro
90 Should You Use Docker Compose or Swarm For A Single Server
91 Docker Environment Configs, Variables, and Entrypoints
92 Java and JBoss in Containers. One .war File Per Container
93 TLS in Dev and Prod with Docker
94 Multiple Docker Images From One Git Repo
95 Docker + ARM, Using Raspberry Pi or AWS A1 Instances with Docker
96 Docker and Swarm RBAC Options
97 ENTRYPOINT vs. CMD, what’s the difference in Dockerfiles
98 How to Use External Storage in Docker
99 Can I Turn a VM into a Container
100 Alpine Base Images. Are They Really More Secure
101 Startup Order With Multi-Container Apps
102 Dealing With Non-root Users In Containers and File Permissions
103 Apache Web Server Design. Many Sites In One Container, or Many Containers
104 Docker Network IP Subnet Conflicts with Outside Networks
105 Raspberry Pi Development in Docker
106 Windows 10 Containers Get Process Isolation
107 Should You Move Postgres to Containers
108 Using Supervisor To Run Multiple Apps In A Container

Dockerfile and Compose File Reviews
109 Section Intro – My Reviews Of Your Dockerfiles
110 Real World PHP Dockerfile Review
111 Real World PHP, Apache, and Alpine Dockerfile Review
112 Real World PHP and FPM Dockerfile Review
113 Real World Elasticsearch Compose Stack File

Extra’s, Common Questions, and Resources
114 Node.js Good Defaults For Docker
115 PHP and Docker Good Defaults Project Template
116 About the DCA (Docker Certificated Associate)
117 Bonus