Christian Lehnert — Linux, Hacking & Faith

tag: #containers

3 posts
5 days ago Dockerfile Hardening - What Never Belongs in Your Image

Most container findings are not exotic escapes. They are things that should never have been in the image - a compiler, a shell, a token baked into a layer, a process running as root. Image hardening is mostly subtraction, decided at build time in the Dockerfile - multi-stage builds, a minimal base pinned by digest, a numeric non-root user, secrets mounted instead of copied, a strict build context, and a CI pipeline that scans, signs, and rebuilds. Here is each one, why it matters, and where the image stops and the runtime takes over.

#docker #containers #devops
2 months ago Where Should Agent Code Run

An AI agent writes code, and now you have to decide where it runs, because in your process a single prompt injection reaches everything. Three answers sit at three points on the one axis that matters, isolation strength - plain Docker (thin shared-kernel wall), my tank-os-with-llms container (that thin wall hardened, self-hosted), and Azure Container Apps Sandboxes (thick hardware-backed microVM, cloud-managed). Isolation strength and ownership pull against each other, and here is how to pick.

#security #azure #containers #docker