Containers on Linux

Run it, build it, connect it, keep it safe.

⏰ 8 weeks🎯 Standard🧩 Capstone🖥 Any device · our GPUs
Generated from this course

🎯 About this course

You can already run a Linux machine. This course teaches you to run software in containers on it: what a container really is, how to run a service with ports and settings, how to build small and safe images, how to keep data, how to connect containers and describe a whole system in a file, how to limit and restart them, and how to find out why one fails. Every exercise names who needs it and why, uses a simulated container host that behaves like the real one, and ends with a check of the effective state rather than the command you meant to type.

By the end you will be able to

  • Describe what a container is, using processes, namespaces, cgroups and images, and how it differs from a virtual machine.
  • Use containers to run services with published ports, settings, logs and exec, and manage images with tags and registries.
  • Use volumes and bind mounts to keep data, and back up and restore a volume.
  • Write Dockerfiles that build fast with layers and cache, and keep secrets and clutter out of images.
  • Create smaller and safer images with multi-stage builds, a non-root user and a health check, and manage releases and rollbacks with version tags.
  • Use user-defined networks and Compose to connect containers, and keep private services private.
  • Configure memory and processor limits and restart policies, and diagnose an out-of-memory exit.
  • Analyse a container that fails by reading its state, exit code, log and settings, and harden containers with least privilege.
Curriculum

Topics covered

First containers 5 topics

  • Entry check: are you ready for containers?
    A forty-five minute check of the Linux ideas this course builds on: processes, ports, services, logs, permissions and files, with a pointer to what to revisit for each.
  • What a container really is
    A container as an isolated process: namespaces, cgroups and an image as root file system, shared kernel versus a virtual machine, image versus container, docker run with…
  • Running services: ports, settings and logs
    Publishing a port with -p HOST:CONTAINER, passing settings with -e, reading output with docker logs, looking inside with docker exec and docker inspect, stop and start…
  • Images, tags and registries
    Image names (registry, repository, tag, digest), why a tag moves, pulling and listing, layers, choosing a small base, docker history, docker tag, docker rmi and what…
  • Data that survives: volumes and bind mounts
    The writable layer and why it is lost, named volumes for databases, bind mounts for configuration and a live site, read-only mounts, deleting volumes safely, and backing…

Building images 4 topics

  • Your first Dockerfile
    A Dockerfile as a recipe (FROM, COPY, RUN, WORKDIR, ENV, EXPOSE, CMD), RUN at build versus CMD at start, docker build -t NAME:TAG, running the built image, reading build…
  • Layers, cache and the build context
    Layers and the build cache, why order matters (dependencies first, code last), the build context and .dockerignore, why a secret copied into an image stays in it, and…
  • Smaller and safer images
    Why images grow, multi-stage builds with FROM AS and COPY --from, small final stages, running as a non-root USER, HEALTHCHECK, and auditing which containers run as root.
  • Tags, releases and rollback
    A release as a version tag, upgrading by creating a new container, rolling back by running the old tag, why latest is a trap, pinning by tag or digest, promoting with a…

Connecting and limiting 3 topics

  • Container networks: names, ports and isolation
    Each container's own address and localhost, the default bridge versus user-defined networks with name lookup, publishing only what outsiders must reach, keeping a…
  • Compose: several containers, one file
    A Compose file with services, ports, environment, volumes and dependson, the daily commands (up -d, ps, logs, down, down -v, config), the project name, recreating only…
  • Limits, restarts and self-healing
    Memory, processor and process limits as cgroup settings, OOM kills (exit 137, OOMKilled), measuring before setting, restart policies (no, on-failure, always…

Operating and securing 3 topics

  • Troubleshooting containers
    Reading a container's state, exit code, log and settings in order, the meaning of exit codes (0, 1, 125, 126, 127, 137, 139, 143), start-time errors (executable not…
  • Container security: least privilege
    Least privilege for containers (non-root, read-only, dropped capabilities, no new privileges, limits), the options that remove walls (--privileged, docker.sock, host…
  • Housekeeping: disk, prune and logs
    Where Docker's disk space goes (containers, images, volumes, build cache, logs), docker system df, the prune commands and which of them can delete data, log limits with…

Infrastructure behind containers 4 topics

  • Containers on the host: namespaces, cgroups and the runtime
    The parts of the container host (client, daemon, containerd and runc, namespaces, cgroups, image store), a card for each with role, resource profile, failure modes…
  • Images, registries and the supply chain
    The parts of an image's journey (Dockerfile, base image, layers and manifest, registry, tag and digest, scanner), a card for each, the path of one release from code to a…
  • Networking and storage for containers
    The parts of container networking and storage (bridge network, published ports and address translation, embedded DNS, volumes, bind mounts, the storage driver), a card…
  • From one host to many: failure, recovery and orchestration
    A failure table for the container host, a drill, a handover built from commands, a restore test for a volume, capacity arithmetic, and the limits of one host against an…

Interview ready 2 topics

  • Interview ready: images, containers and data
    The questions people really ask about containers versus virtual machines, images, Dockerfiles, caching, size and safety, volumes and troubleshooting, with model answers…
  • Interview ready: networks, Compose, limits and security
    The questions people really ask about container networks, Compose, limits and restarts, security, disk use and the limits of one host, with model answers, strong and…
Course at a glance

See how this course is built

Where the time goes

Longer spokes mean more hours on that module.

Course roadmap click a step

Try a lesson0 / 3

Sample questions from this course. Your progress is kept only in your browser.

Week by week

Drag the slider, or press play, to walk through the course and see what you will have built by each week.

Week 1 of 8
Wk 1

Welcome to the container host

The entry check and scenes 1 to 4: what a container is, services, images, volumes.

Wk 2

Building images

Scenes 5 to 8: Dockerfiles, layers, small and safe images, tags and rollback.

Wk 3

Connecting and limiting

Scenes 9 to 11: networks, Compose, limits and restarts.

Wk 4

Operating and securing

Scenes 12 to 14: troubleshooting, security and housekeeping.

Wk 5

Under the hood

Scenes 15 to 18: the host stack, the supply chain, networking and storage, failure and handover.

Wk 6

Interview ready

Scenes 19 and 20: model answers, timed hands-on tasks and a mock round.

Wk 7

Capstone work session

Build the capstone: the booking system in containers, hardened and handed over.

Wk 8

Capstone review

Present the capstone.

What you'll build

The booking system in containers

A Dockerfile that builds a small non-root image with a health check, a compose file that runs the application and its database on a private network with limits and restart policies, and the commands that prove each part works.

The operations pack

A troubleshooting log of three faults (a missing setting, a port clash, an out-of-memory exit) with the evidence from ps, logs and inspect, a hardening checklist, and a clean-up routine with log limits.

The container host map and handover

A card for each part, the capacity arithmetic with assumptions, a failure table with one drill, a restore test of a volume and a one-page handover.

Why take this course

  • Trace a failing container from the exit code to the cause
  • Know what is in force, not just what you typed
  • Ship and roll back without a night of panic

You will build

  • The booking system in containers
  • An operations pack
  • A container host map and handover

What you can do afterwards

  • Run containers with confidence
  • Explain your choices and their risks
  • Answer container interview questions with specifics
How to take it

💳 Delivery & fees

One course, four ways to attend. Fees are per course, in rupees excluding 18% GST (the GST-inclusive amount is shown too).Fees are per course, in Canadian dollars, before applicable GST/HST.Fees are per course, in US dollars, before any applicable local taxes. Bulk and institutional volume pricing is available.

Self-paced

₹1,89,500

+ 18% GST · ₹2,23,610 all-in

Programme ₹1,64,800 + infrastructure & GPU labs ₹24,700

≈ ₹23,688 per week ex-GST over 8 weeks

CA$14,500

per course, before applicable GST/HST

Includes our GPU lab infrastructure: no cloud credits to buy

≈ CA$1,813 per week over 8 weeks

US$10,400

per course, before any applicable local taxes

Includes our GPU lab infrastructure: no cloud credits to buy

≈ US$1,300 per week over 8 weeks

  • Full recorded library
  • Browser GPU lab
  • All project briefs
  • Mentor review add-on
Most popular

Live online

₹2,27,500

+ 18% GST · ₹2,68,450 all-in

Programme ₹1,97,800 + infrastructure & GPU labs ₹29,700

≈ ₹28,438 per week ex-GST over 8 weeks

CA$17,400

per course, before applicable GST/HST

Includes our GPU lab infrastructure: no cloud credits to buy

≈ CA$2,175 per week over 8 weeks

US$12,500

per course, before any applicable local taxes

Includes our GPU lab infrastructure: no cloud credits to buy

≈ US$1,563 per week over 8 weeks

  • Everything in self-paced
  • Scheduled live classes
  • 1:8 mentor code review
  • Cohort + capstone review

Hybrid — weekend

₹2,46,500

+ 18% GST · ₹2,90,870 all-in

Programme ₹2,14,300 + infrastructure & GPU labs ₹32,200

≈ ₹30,813 per week ex-GST over 8 weeks

CA$18,850

per course, before applicable GST/HST

Includes our GPU lab infrastructure: no cloud credits to buy

≈ CA$2,356 per week over 8 weeks

US$13,500

per course, before any applicable local taxes

Includes our GPU lab infrastructure: no cloud credits to buy

≈ US$1,688 per week over 8 weeks

  • Recorded weekday lessons
  • Live weekend sessions
  • Full mentor review
  • Cohort + capstone

Live in-person

₹2,75,000

+ 18% GST · ₹3,24,500 all-in

Programme ₹2,39,100 + infrastructure & GPU labs ₹35,900

≈ ₹34,375 per week ex-GST over 8 weeks

CA$21,050

per course, before applicable GST/HST

Includes our GPU lab infrastructure: no cloud credits to buy

≈ CA$2,631 per week over 8 weeks

US$15,100

per course, before any applicable local taxes

Includes our GPU lab infrastructure: no cloud credits to buy

≈ US$1,888 per week over 8 weeks

  • Everything in live online
  • Classroom instruction
  • On-site mentor time
  • In-person study group

Bulk and institutional pricing. Volume discounts are available for institutions, campuses, companies and groups enrolling several learners. Ask for a group quote →

Your fee includes our GPU lab infrastructure — no cloud credits to buy. See how we compare, with sources →

Ready when you are

Apply for this course

Tell us the format you prefer and we'll confirm the next cohort date and your fee on a short call.

Apply for this course