19-10-2023 Annacon

These are notes from my talk at https://annacon.be/ 2023.

Dissecting container and pods

You can find the recording (in Dutch) and slides over here at https://annacon.be/0x7e7_media/

Running containers is easy

Docker host

  • ubuntu machine

  • public ip address

  • security group 80, 443, 8080, 8081

Install docker

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh ./get-docker.sh
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker

Running our first container

export IP="x.x.x.x"
docker run -d -p 8080:80 --name www nginx:1.24

Creating our first image

Dissecting the image

Finding secret.txt

Explore and untar all the layers

Dissecting a running container

Storage

Processes and namespaces

Entering a container

Privileged

Mounting issues

eBPF

Tracee

Falco

Tetragon

Last updated