Virtualization, containers and hypervisors
Follow one system call through a host process, a container and a VM, and state what namespaces, resource limits and mounts do and do not protect. OS practice and environments · Operating systems.
Inside a container ps shows the service as PID 1 while the host lists it as PID 4188, and uname -r prints the host's kernel release. Inside a virtual machine uname -r prints a different one. Where did each call go?
What you will learn
- Trace one system call through a host process, a container and a VM
- Say what a namespace, a cgroup limit and a bind mount each control
- State why a container or VM label alone is not a security guarantee
Lesson outline
- One service, three deployments
- A VM brings its own kernel
- Views, limits and mounts
- What isolation does not promise
18 minutes · 4 scenes · 0 predict checks · 10 quiz questions
The full lesson is available with Premium.