Skip to content
Ameen Abozaid
Planned lessonJNR-049-L01

Why containers

  • Lesson 1 of 8
  • Junior
On This Lesson 4 topics

This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.

In this lesson

explain what problem containers solve and how they differ from VMs.

Planned topics

  • "Works on my machine" happens because machines differ; a container packs the app with its runtime and libraries.
  • A container is an isolated process on the host's kernel; a VM runs a whole separate operating system.
  • Containers start in seconds and use less memory than VMs.
  • A container is not a security boundary as strong as a VM.
  • Docker is the most common tool; the image format is a standard.
Draft outline details

Demonstration

two stacks side by side: VM (app, guest OS, hypervisor, hardware) versus container (app, container runtime, host OS, hardware).

Check your understanding

Does a container include its own kernel?

Show answer

No; it shares the host's kernel.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Continue to next lesson

Type to search levels, phases, modules and lessons.