Skip to content

← Week 20 - Containers deeper

Week 20 - Containers deeper: notes

Status: Not started

Exercise 1

Push images to a registry (GitHub Container Registry or Azure Container Registry).

Commands, results, what surprised me.

Exercise 2

Scan an image with Trivy and fix a finding; set CPU and memory limits and watch an OOM kill.

Commands, results, what surprised me.

Exercise 3

Try chiseled Ubuntu .NET images; find what the app really needs at runtime.

Commands, results, what surprised me.

Exercise 4

Debug a running container: docker exec, docker cp, logs, nsenter, and why there is no shell in chiseled images.

Commands, results, what surprised me.

Deliverable

Phase 5 checkpoint: a hardened, scanned, small image pushed to a registry.

Write-up.