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.
tag: #containers
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.
PID 1 in Linux has special responsibilities that most application processes are not designed to handle. The --init flag in Docker inserts a tiny init process between PID 1 and your application, which solves the zombie reaping problem and the signal forwarding problem in one line.