Module 11 of 15

Containers

Lessons

About This Module

Deploying an application often fails for a simple reason: it works on one machine but not on another because the software, libraries or settings differ. A container fixes this by packaging your application together with everything it needs to run, so it behaves the same on your laptop, a test server and the cloud. Containers are lighter and faster to start than virtual machines because they share the host's operating system.

You'll first see how containers differ from virtual machines, then learn Docker, the most widely used container tool. You'll build images from a Dockerfile, run several containers together with Docker Compose, and store your images in a container registry such as Amazon ECR so the cloud can pull and run them. Watch the videos in order, then move on to Orchestration (Kubernetes), which manages containers at scale.

Lessons

5 videos
01

Containers vs Virtual Machines

How containers differ from virtual machines and why they are lighter and faster to start.

02

Docker Tutorial for Beginners

A full beginner course covering installation, main commands, volumes, Docker Compose and pushing to a registry.

03

Docker Images and Layers

How Docker images are built from layers and why that matters for build speed and image size.

04

Docker Compose and Container Networking

Build a multi-container app with Docker Compose and see how containers talk to each other.

05

Container Registries with Amazon ECR

Create an Amazon ECR repository and push Docker images to it step by step.