
IntermediatePart 8
Move the Docker daemon off root so a container escape lands on an ordinary user
If you can run docker without sudo, you can already read every file on the machine. Not through a bug — that is how Docker is built. One command proves it. For a host running agents that execute generated code, that is the whole attack, and Part 2's non-root containers do not touch it. This moves the daemon itself to an unprivileged account, with the UID arithmetic you can check, four places the install walks you into a wall on Ubuntu, and what stops working afterwards.
Agentsself-hostingdockersecurity
September 16, 202612 min read
Read more
IntermediatePart 2
Root by default: hardening container privilege on a self-hosted AI stack
Two of the six containers behind a live Langfuse deployment were running as root, for no reason anyone chose. Fixing it took one line each — and broke a service that had nothing to do with the fix. A real conversion, a real coordination failure, and how to catch both.
Agentsself-hostingdockersecurity
August 10, 20268 min read
Read more