explaingit

bretfisher/udemy-docker-mastery

5,768JavaScriptAudience · ops devopsComplexity · 3/5Setup · moderate

TLDR

The companion code repository for the Docker Mastery Udemy course by Bret Fisher, containing all section examples and reference files for learning Docker, Docker Compose, Swarm, and Kubernetes from scratch.

Mindmap

mindmap
  root((Docker Mastery))
    What it does
      Container education
      Course companion files
      DevOps skill building
    Tech Stack
      Docker
      Docker Compose
      Kubernetes
      GitHub Actions
    Topics Covered
      Container basics
      Multi-container apps
      Cluster orchestration
      CI CD automation
    Use Cases
      Follow course examples
      Deploy with Swarm
      Learn Kubernetes
    Audience
      DevOps engineers
      Backend developers
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Follow along with Docker Mastery course sections using the provided example files to practice container builds and multi-container setups.

USE CASE 2

Use the Kubernetes manifest examples as templates for deploying services and exposing them externally in your own cluster.

USE CASE 3

Reference the Dockerfile examples to improve existing container images for production use with better layer caching.

USE CASE 4

Use the GitHub Actions examples as a starting point for automating Docker image builds and pushes in a CI pipeline.

Tech stack

DockerDocker ComposeKubernetesGitHub ActionsJavaScript

Getting it running

Difficulty · moderate Time to first run · 30min

Requires Docker Desktop installed, Kubernetes sections need Minikube or a cloud cluster.

In plain English

This repository holds the course files for a Udemy course called Docker Mastery, taught by Bret Fisher, who holds the title of Docker Captain. The course teaches students how to build, test, and deploy software using containers, starting from the basics and moving all the way through to running things reliably in the cloud. Containers are a way of packaging an application so it runs consistently no matter where you put it, whether that is your laptop, a coworker's machine, or a server in the cloud. Docker is the most widely used tool for creating and managing those containers. The course covers Docker itself, then moves into Docker Compose, which makes it easier to run multiple containers together, and Swarm, which handles running containers across several machines at once. The later sections of the course introduce Kubernetes, a more complex system used by companies to manage large numbers of containers across many servers. The course walks through how Kubernetes is structured, how to install it, how to expose services so they can be reached from outside, and how to write configuration files to describe what you want to run. The repository is organized by course section. Each folder contains the files, examples, and reference links students need to follow along. There is also material on security practices, GitHub Actions for automating builds, and how to write good Dockerfiles, which are the recipe files that tell Docker how to build a container image. The README is brief and mostly serves as a table of contents pointing into the course structure. The repository is open to issues and pull requests if anyone spots problems in the examples.

Copy-paste prompts

Prompt 1
Using the Docker Mastery course files as a reference, show me a Dockerfile for a Node.js app that follows best practices for layer caching and minimal image size.
Prompt 2
Walk me through the Docker Compose file pattern from the udemy-docker-mastery examples to run a multi-container app with a web service and a database.
Prompt 3
I am learning Kubernetes from the Docker Mastery course. Show me how to write a Deployment and Service manifest to deploy a web app and expose it on a NodePort.
Prompt 4
How do I use the Docker Swarm examples in this repo to create a stack and scale a service across multiple nodes?
Open on GitHub → Explain another repo

← bretfisher on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.