Containers and Security on Linux
Every Containers and Security on Linux lesson in the Linux for AI Engineering course, in the order you study them. Each page opens about the first half of its lesson to read, some the whole of it; the full lessons are in the plan.
Container internals: namespaces, cgroups, OverlayFS layers and rootless Podman
Why a Docker image stays huge after deleting files, image layers, namespaces and cgroups, builds that cache well, mounts and ports.
GPU container images: the NVIDIA Container Toolkit and CDI, image size, runtime settings and SBOMs
Why PyTorch data loaders die in Docker but not on the host, /dev/shm size, what a GPU container is, image size and run-time settings.
Sandboxing AI agents: namespaces, capabilities and seccomp, cgroups, egress control and prompt injection
Sandboxing AI agents on Linux: prompt injection, namespaces, capabilities and seccomp, egress limits, untrusted model files and secrets.
