Definitions

How computers for agents work, from the hardware to the sandbox.

Definitionsc

Container

A container is a process that shares the host kernel and is separated from other workloads by namespaces and cgroups.

A container is a group of ordinary processes that the host kernel isolates from the rest of the system. It has no kernel of its own, so it is about as cheap to start as the program inside it. From the host, its processes show up in the normal process list beside everything else. What sets them apart is the restrictions the kernel puts around them, mainly namespaces and cgroups.

A container starts from an image that carries the program with its libraries and files, so it runs the same way on any host. That promise, more than isolation, is what made containers popular with developers. It has limits, since the kernel and the processor architecture still come from the host. An image built for one architecture does not run on another without emulation.

Containers add little memory beyond the processes themselves, which is why they dominate packaging and deployment. A host can run far more containers than full virtual machines in the same memory. Lightness also makes them quick to replace, so platforms restart a failed container rather than repair it. The cost of that lightness is that every container on a host shares one kernel. For untrusted code, many platforms therefore run containers inside virtual machines or microVMs.