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 44KHz 2ch | 9 Hours | 1.97 GB

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

Be ready for the Dockerized future, where nearly all software is developed and deployed in containers. 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 a 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: 3% 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.
  • Tons of reference links to supplement this content.
  • Updates to content as Docker changes their features on these topics.

Course Launch Notes: More lectures are coming as I finish editing them in 2019:

  • Deal with more complex container startup with Entrypoints
  • Getting data in and out of images and containers
  • Windows Containers and ARM containers

What you’ll learn

  • How to use Docker and Compose on your machine for better software building and testing.
  • Build a fancy multi-node Swarm cluster for production deployments!
  • Skills to build advanced development environments with your code running in containers.
  • Update and change your Swarm Services without downtime using rolling updates.
  • Hand’s-on with best practices for making Dockerfiles and Compose files like a Pro!
  • Experience using multi-host logging and event monitoring for Docker Swarm.
  • Build and publish your own custom images.
  • Understand the new Windows Containers, and try your hand at ARM Containers.
Table of Contents

Course Introduction and Docker Intro
1 Black Friday 2018 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 Installing Docker: The Fast Way
11 Windows Docker Options
12 Docker for Windows 10 Pro/Ent: Setup and Tips
13 Docker Toolbox for Win7, 8, and 10 Home: Setup and Tips
14 Docker for Mac Setup and Tips
15 Docker for Linux Setup and Tips
16 Code or Text Editor for Docker and Compose files
17 Terminal Shell and Tab Completion for Docker CLI
18 Docker Version Format Change in Early 2017

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

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

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

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

Swarm Intro and Creating a 3-Node Swarm Cluster
59 Swarm Mode: Built-In Orchestration
60 Create Your First Service and Scale It Locally
61 UI Change For Service Create/Update
62 November 2018: Docker Machine Bug With Swarm
63 Creating a 3-Node Swarm Cluster

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

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

Container Registries: Image Storage and Distribution
78 Docker Hub: Digging Deeper
79 Docker Store: What Is It For?
80 Docker Cloud: CI/CD and Server Ops
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

DevOps and Docker Talk
86 DevOps and Docker Talk Intro
87 Alpine Base Images. Are They Really More Secure?
88 Dealing With Non-root Users In Containers and File Permissions
89 Apache Web Server Design. Many Sites In One Container, or Many Containers?

Extra’s, Common Questions, and Resources
90 Bonus Lecture: Bret’s Docker and DevOps Newsletter
91 Bonus Lecture: $10 Coupon for Swarm Mastery
92 Bret’s DockerCon Talks! Production Docker and Swarm
93 The Future of Swarm
94 Swarm Raft Quorum and Recovery (Laura Frank from DockerCon 2017)
95 Using Prune to Keep Your Docker System Clean (YouTube)
96 What’s New In Docker 17.06 (YouTube)
97 Node.js Good Defaults For Docker
98 PHP and Docker Good Defaults Project Template
99 About the DCA (Docker Certificated Associate)