Free course

Containers & Kubernetes Fundamentals

Understand containers, Docker and Kubernetes step by step, then run, update, debug and autoscale an app on a free local cluster.

22 lessons4 hoursFoundationsEngineerHands-on

Containers & Kubernetes Fundamentals

Who it's for

Students and junior engineers who have heard of Docker and Kubernetes, are comfortable with a command line, and want a clear, practical path from containers to a working cluster.

What you'll learn

  • Explain how containers differ from virtual machines and what an image, a layer and a registry are
  • Write a Dockerfile and use Docker volumes, networks and Compose to run a multi-container app
  • Describe Kubernetes architecture and explain Pods, Deployments, Services, Ingress, ConfigMaps and Secrets
  • Set probes, requests and limits, and use namespaces and RBAC to separate and secure workloads
  • Create a local cluster with kind, deploy an app, and perform rolling updates and rollbacks
  • Debug CrashLoopBackOff and Pending pods, package an app with Helm, and autoscale it with the HPA

Syllabus

Containers 101

Foundations2 lessons · 16 min
  1. Virtual Machines vs Containers: What's the Difference?, 8 min
  2. What Is Docker? Containers Explained for Beginners, 8 min

Working with Docker

Engineer4 lessons · 47 min
  1. Dockerfile Basics: Build Your First Image, Hands-On, 12 min
  2. Docker Image Layers and Caching Explained, 11 min
  3. Docker Volumes and Networking, Hands-On, 12 min
  4. Docker Compose Basics: Run Multi-Container Apps, 12 min

Kubernetes Concepts

Engineer10 lessons · 1.8 hours
  1. What Is Kubernetes? A Beginner's Guide with Analogies, 10 min
  2. Kubernetes Architecture: Control Plane and Nodes, 10 min
  3. What Is a Kubernetes Pod? Explained with Examples, 11 min
  4. Kubernetes Deployments and ReplicaSets Explained, 11 min
  5. Kubernetes Services: ClusterIP, NodePort, LoadBalancer, 11 min
  6. Kubernetes Ingress Explained for Beginners, 11 min
  7. Kubernetes ConfigMaps and Secrets Explained, 11 min
  8. Kubernetes Volumes and PersistentVolumes Explained, 11 min
  9. Kubernetes Probes, Requests and Limits Explained, 11 min
  10. Kubernetes Namespaces and RBAC for Beginners, 11 min

Hands-On with kind

Hands-on6 lessons · 1.2 hours
  1. Create a Local Kubernetes Cluster with kind, 12 min
  2. Deploy Your First App to Kubernetes, Hands-On, 12 min
  3. Kubernetes Rolling Updates and Rollbacks, Hands-On, 12 min
  4. Debug CrashLoopBackOff and Pending Pods, Hands-On, 11 min
  5. Helm Basics: Package Kubernetes Apps, Hands-On, 12 min
  6. Capstone: Autoscale an App on Kubernetes with HPA, 11 min