Docker Mastery: with Kubernetes +Swarm from a Docker Captain
4.6 (39,429 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
180,528 students enrolled

Docker Mastery: with Kubernetes +Swarm from a Docker Captain

Build, test, deploy containers with the best mega-course on Docker, Kubernetes, Compose, Swarm and Registry using DevOps
Bestseller
4.6 (39,429 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
180,528 students enrolled
Last updated 7/2020
English
English, French [Auto], 6 more
  • German [Auto]
  • Indonesian [Auto]
  • Italian [Auto]
  • Polish [Auto]
  • Portuguese [Auto]
  • Spanish [Auto]
Current price: $12.91 Original price: $199.99 Discount: 94% off
30-Day Money-Back Guarantee
This course includes
  • 19.5 hours on-demand video
  • 26 articles
  • 34 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • How to use Docker, Compose and Kubernetes on your machine for better software building and testing.
  • Learn Docker and Kubernetes official tools from an award-winning Docker Captain!
  • Learn faster with included live chat group (21,000 members!) and weekly live Q&A.
  • Gain the skills to build development environments with your code running in containers.
  • Build Swam and Kubernetes clusters for server 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.
Course content
Expand all 176 lectures 19:38:27
+ Course Introduction and Docker Intro
7 lectures 23:26

High-level overview of sections and lectures.

Preview 03:44

What's happened lately in Docker Mastery?

November 2019 Update!
02:59

Learn about the origin of containers and why Docker is the right tool at the right time!

Preview 10:54
Getting Course Resources (GitHub Repo)
00:34
Course Slack Chat: 30k Students Learning Containers
00:45

Join Bret on YouTube Live every week for getting questions answered about Docker Mastery and all things containers.

YouTube Live Q&A with Bret
00:20

Common Questions in This Course

The Big FAQ
04:08
+ The Best Way to Setup Docker for Your OS
10 lectures 01:27:02

Docker's product line is expanding and this will help you decide which "Edition" is for you, and also go over CE vs. EE, versioning, and Edge vs. Stable.

Docker Editions: Which Do I Use?
06:47
Installing Docker: The Fast Way
01:57

What you need to get started on Windows 10, Server 2016, and options for older versions.

Windows Docker Options
08:08

Walkthrough of getting "Docker for Windows" and tools for this course to work on Windows 10 Pro, Enterprise, and Server 2016

Docker for Windows 10 Pro/Ent: Setup and Tips
09:19

Walkthrough of getting "Docker Toolbox" and tools for this course to work on Windows 7, 8, and 10 Home edition

Docker Toolbox for Win7, 8, and 10 Home: Setup and Tips
13:29

Walkthrough of getting Docker for Mac installed and additional tools for this course. Includes details on bash tab completion and settings tweaks.

Docker for Mac Setup and Tips
23:02

Walkthrough of getting Docker tools working on Linux desktop or server. Also tips on code editor, permissions, cloning the course repo, and more.

Docker for Linux Setup and Tips
21:42

A few questions to ensure you know when to use various install techniques.

Quiz on Proper Docker Install
3 questions
Code or Text Editor for Docker and Compose files
00:12
Terminal Shell and Tab Completion for Docker CLI
01:16

Note that Docker's version has changed so it may look weird in this course if you don't understand the numbering change.  Here's some quick info.

Docker Version Format Change
01:09
+ Creating and Using Containers Like a Boss
17 lectures 01:28:14

Section Overview, and ensuring Docker is working and on a recent version.

Check Our Docker Install and Config
06:40

Learn how to run a container, and manage its existence.

Starting a Nginx Web Server
08:58

Starting a container does lots of things in the background, lets talk about those.

Preview 02:29

See how a container is quite different then a VM, and yet how they have similar concepts.

Container VS. VM: It's Just a Process
04:12

"Windows Containers" were born in 2016, and are quickly catching up with the Linux container craze. Here's a preview Lecture of what's coming in a future update to this course.

Windows Containers: Docker Is No Longer Just Linux
01:05

Assignment to startup a typical three container service with nginx, mysql, and apache. Also, getting used to using docs.docker.com.

Assignment: Manage Multiple Containers
03:34

(optional) I walk through the assignment as how I would do it.

Assignment Answers: Manage Multiple Containers
05:41

Check what you've learned so far in this section.

Container Quiz 1
4 questions

Use cli commands to monitor containers and see what's running in them.

What's Going On In Containers: CLI Process Monitoring
04:56

Use docker cli to get a full shell inside containers, no SSH needed. Also learn a about Linux distributions in containers like Ubuntu and Alpine.

Preview 10:45

Learn the concepts around container networking, and how Docker handles it. Inspect a container IP and see diagrams on how traffic gets in and out.

Docker Networks: Concepts for Private and Public Comms in Containers
11:36

Quick note on a fix you should add to future lessons where I use ping from a nginx container.

FIXME: Change In Official Nginx Image Removes Ping
00:30

Practice the commands for controlling docker networks on your local machine.

Docker Networks: CLI Management of Virtual Networks
07:58

Understand how containers find each other using dynamic DNS rather than IP's.

Docker Networks: DNS and How Containers Find Each Other
05:41

A few questions on previous lecture content to help you retain the knowledge.

Container Quiz 2
3 questions

Assignment to use container shells to test networking between them.

Assignment: Using Containers for CLI Testing
02:30

(optional) I walk through the assignment as how I would do it.

Assignment Answers: Using Containers for CLI Testing
02:50

Assignment to test DNS alias naming on multiple containers.

Assignment: DNS Round Robin Test
05:10

(optional) I walk through the assignment as how I would do it.

Assignment Answers: DNS Round Robin Test
03:39
+ Container Images, Where To Find Them and How To Build Them
10 lectures 01:06:53

Section Overview, and a discussion about what an image is and isn't.

What's In An Image (and What Isn't)
02:04

Dig into what Docker Hub provides us. It's the future of package managers.

The Mighty Hub: Using Docker Hub Registry Images
11:44

Docker caches images locally, you'll need to know how it works in order to manage it properly. Let's dig in!

Images and Their Layers: Discover the Image Cache
12:41

Getting images in and out of an image repository is a fundamental common task, lets try it.

Image Tagging and Pushing to Docker Hub
12:22

Dockerfiles are the recipes you make to create great containers. Let's start with the essentials of what's in the Dockerfile.

Building Images: The Dockerfile Basics
06:34

Once you have your Dockerfile, you need to build an image from it. Lets see how that works.

Building Images: Running Docker Builds
03:36

Dockerfiles can add on to existing images. Lets see how we might do that.

Building Images: Extending Official Images
05:19

A quick set of questions to ensure you're getting the concepts.

Image Quiz
3 questions

Assignment to create your own Dockerfile recipe and test it in containers.

Assignment: Build Your Own Dockerfile and Run Containers From It
04:00

(optional) I walk through the assignment as how I would do it.

Assignment Answers: Build Your Own Dockerfile and Run Containers From It
08:03

Using the prune command to clean up various things in docker.

Using Prune to Keep Your Docker System Clean (YouTube)
00:30
+ Container Lifetime & Persistent Data: Volumes, Volumes, Volumes
9 lectures 36:21

Understand the lifecycle of a container and how we should separate application artifacts and unique data that we need to preserve across containers.

Container Lifetime & Persistent Data
04:13

Learn how to use Docker Volumes to store important data we need  to keep, and let your persistent data outlive the container.

Persistent Data: Data Volumes
08:47
Shell Differences for Path Expansion
00:38

See how to create a link between host and container directories for various purposes, including easy source-file development.

Persistent Data: Bind Mounting
07:03

How data exists past and beyond the container

Quiz on Persistent Data
3 questions

Assignment to deal with databases and persistent data in containers through volumes.

Assignment: Database Upgrades with Named Volumes
03:34

(optional) I walk through the assignment as how I would do it.

Assignment Answers: Database Upgrades with Named Volumes
03:36

Assignment to edit code on host while it's served up in a container.

Assignment: Edit Code Running In Containers With Bind Mounts
04:12

(optional) I walk through the assignment as how I would do it.

Assignment Answers: Edit Code Running In Containers With Bind Mounts
02:47
Database Passwords in Containers
01:31
+ Making It Easier with Docker Compose: The Multi-Container Tool
7 lectures 55:32

Section Overview and discussing the features and purpose of compose files, a key part of using Docker locally and in production.

Docker Compose and The docker-compose.yml File
10:29

Get your feet wet with basic commands and workflow of our new favorite tool in this course!

Trying Out Basic Compose Commands
08:34

Assignment to create your own Compose file to run a multi-app service (Drupal and Postgres).

Assignment: Build a Compose File For a Multi-Container Service
02:59

(optional) I walk through the assignment as how I would do it.

Assignment Answers: Build a Compose File For a Multi-Container Service
09:36

Learn to have Compose run your docker builds for you on startup.

Preview 09:20

Assignment to create your own Compose file to build images with custom options (Drupal and Postgres).

Assignment: Compose For Run-Time Image Building and Multi-Container Development
03:06

(optional) I walk through the assignment as how I would do it.

Assignment Answers: Compose For Run-Time Image Building and Multi-Container Dev
11:28

Using YAML to control multiple containers and resources.

Quiz on Docker Compose
6 questions
+ Swarm Intro and Creating a 3-Node Swarm Cluster
5 lectures 37:15

Learn how Docker has some great built-in features for scaling your containers and operating a cluster.

Swarm Mode: Built-In Orchestration
08:57

Let's use your local docker in a 1-node Swarm to learn the basics.

Preview 12:16
UI Change For Service Create/Update
01:00

Note that 18.09.0 release has a bug in docker-machine with Swarm ports not working.

Docker Machine Bug With Swarm
00:25

You'll build a 3-host Swarm cluster so we can scale our apps out for high-availability.

Preview 14:37

Test your retention of key topics on using multiple nodes to help automation, sustainability, and rapid deployment.

Quiz on Swarm Mode Basics
3 questions
+ Swarm Basic Features and How to Use Them In Your Workflow
10 lectures 01:09:34

Learn how Swarm can seamlessly let containers talk between hosts.

Scaling Out with Overlay Networking
06:42

See how Swarm can accept packets on any Swarm node and route to the proper container.

Scaling Out with Routing Mesh
08:54

How to better use docker's orchestration tool

Quiz on Docker Swarm Basics
4 questions

Create your own distributed container service, with custom networks and multiple containers dynamically provisioned. 

Assignment: Create A Multi-Service Multi-Node Web App
06:25

(optional) I walk through the assignment as how I would do it.

Assignment Answers: Create A Multi-Service Multi-Node Web App
10:43

Learn how to use your existing compose files in a production Swarm cluster.

Swarm Stacks and Production Grade Compose
14:19

With this lesson you'll learn why you need to protect secrets and how Swarm enables you to do that easily.

Secrets Storage for Swarm: Protecting Your Environment Variables
05:07

Walk through the features of Secrets and how to store private information securely and ensure they get to only the containers that need them.

Using Secrets in Swarm Services
06:56

Learn how to deploy Stacks with Secrets referenced in your compose YAML files.

Using Secrets with Swarm Stacks
03:51

Modify a compose file to make it production-ready and use secrets to pass config values.

Assignment: Create A Stack with Secrets and Deploy
02:09

(optional) I walk through the assignment as how I would do it.

Assignment Answers: Create A Stack with Secrets and Deploy
04:28
+ Swarm App Lifecycle
5 lectures 36:45

Understand how to use "simulated" secrets with the docker-compose CLI.

Using Secrets With Local Docker Compose
02:55

Learn how a single or multiple compose files can serve both dev and ops on local machines, in your CI automation, and in CD for production deployments.

Full App Lifecycle: Dev, Build and Deploy With a Single Compose Design
10:10

Learn key features of the service update command and when to use it for updating your containers while the are live.

Service Updates: Changing Things In Flight
09:29

Discover how built-in healthchecks make your containers even smarter, and how docker handles them.

Preview 13:29

Digging deeper into Swarm tooling and uses.

Quiz on Swarm App Lifecycle
3 questions
Info on Swarm Mastery
00:42
+ Container Registries: Image Storage and Distribution
6 lectures 29:30

Learn more features you get from Docker Hub for free, and what you need to pay for.

Docker Hub: Digging Deeper
07:44

Learn what the free Docker Distribution (aka Registry) can do for us and what things should we be concerned with when deploying it.

Understanding Docker Registry
03:43

Learn how to run and use your own image registry on your own servers.

Run a Private Docker Registry
07:16

Learn how to secure Docker Registry by enabling HTTPS and basic auth using Play With Docker.

Assignment: Secure Docker Registry With TLS and Authentication
00:46

Registry mostly acts the same in a Swarm cluster, but lets use Play-With-Docker to see some slight differences.

Using Docker Registry With Swarm
09:29

Learn some other popular options for storing your images in the cloud and on premise.

Third Party Image Registries
00:31
Quiz on Container Registries
3 questions
Requirements
  • No paid software required - Just install your favorite text editor and browser!
  • Local admin access to install Docker for Mac/Windows/Linux.
  • Understand terminal or command prompt basics.
  • Linux basics like shells, SSH, and package managers. (tips included to help newcomers!)
  • Know the basics of creating a server in the cloud (on any provider). (tips included to help newcomers!)
  • Understand the basics of web and database servers. (how they typically communicate, IP's, ports, etc.)
  • Have a GitHub and Docker Hub account.
Description

Updated Monthly in 2019! Be ready for the Dockerized future with the number ONE Docker + Kubernetes mega-course on Udemy. Welcome to the most complete and up-to-date course for learning and using containers end-to-end, from development and testing, to server deployments 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, Kubernetes, secrets, logging, rolling upgrades, and more.

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

"I've followed another course on (Udemy). This one is a million times more in depth." "...when it comes to all the docker stuff, this is the course you're gonna want to take" - 2019 Student Udemy Review

Just updated in November 2019 with sections on:

  • Docker Security top 10

  • Docker 19.03 release features

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.


"Because of the Docker Mastery course, I landed my first DevOps job. Thank you Captain!" - Student Ronald Alonzo

"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 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.

Also included is a private Slack Chat group with 20k students 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

  • 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!

 

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.

Who this course is for:
  • Software developers, sysadmins, IT pros, and operators at any skill level.
  • Anyone who makes, deploys, or operates software on servers.