šŸŽ² Container Escapes 101 - Kernel resource sharing
some-natalie.devĀ·11h
Flag this post

One of the fundamental tenants of containers is that they’re a process that shares a kernel’s resources. It is not a virtual machine.

Let’s try something together …


1
2
3
4
5
6
7
8
9
10
11

$ docker run -it --rm redhat/ubi9:9.6
[root@cf0166412881 /]# uname -a
Linux cf0166412881 6.8.0-63-generic #66-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 13 20:09:49 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux

$ docker run -it --rm ubuntu:24.04
root@024fa13d4f18:/# uname -a
Linux 024fa13d4f18 6.8.0-63-generic #66-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 13 20:09:49 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux

$ docker run -it --rm ghcr.io/some-natalie/some-natalie/whoami:latest
5471916781e4:/$ uname -a
Linux 5471916781e4 6.8.0-63-generic #66-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 13 20:09:49 UTC 2025 aarch64 Li...

Similar Posts

Loading similar posts...