Week 9: Virtualization 101
Virtualization is a technology that creates virtual, or simulated, versions of computing resources like servers, storage, and networks from a single physical machine
A virtual machine (VM) is the virtualization or emulation of a computer system.
Each hypervisor has it’s own type of disk image format, for example:
Import a OVA into virtualbox
This feature we’re looking for is called containers, and it isn’t named like this on the linux kernel, but it’s a mix of various features of the linux kernel called namespaces , cgroups v2 and overlay filesystems.
Learn More!
LWN.net has some great articles talking about namespaces and cgroups
This isn’t true!
It doesn’t really work like this, the real architecture diagram is this one
Step 1: Opcional
Describe the container that I would live to have (A file called Dockerfile), that will be used to create an image.
Step 2: Opcional
From this description, build an image (you can see an image like a .ova on VirtualBox).
Step 3
Create a container given an image with a container engine.
For running it, just the third step is necessary, but you’ll usually do step 1 and step 2 too!
The tools that allow to create, and execute images are called container engines, some examples are:
High performance: Runs at near-native speed, just like any other userspace program.
Quick deployment: Starts up instantly, as it launches like a regular userspace application.
Engine interoperability: Can easily work alongside or integrate with different runtime engines.
If you need full control over the operating system (or want to emulate it), use a virtual machine (VM).
If you need very, very strong isolation and lots of security, use VMs.
If you need faster deployment and execution, use containers.
You’ll probably use containers most of the time (except when doing “strange” work and you want max. security)
If you really want to understand a little bit more what happens under the hood, you can do the following exercices. Be aware that you should read the “Really Recommended References” first, and then try to do this exercices.

AMSA 2025-2026 - 🏠 Home