IT lexicon › Infra & Ops › Jails (FreeBSD)

Jails (FreeBSD)

Infra & Ops På svenska → Updated: 2026-11-08

FreeBSD's OS-level virtualisation from 2000 — containers, roughly a decade and a half before the word caught on.

Poul-Henning Kamp built jails for a hosting provider that wanted to hand customers root without handing them the whole machine. The feature shipped in FreeBSD 4.0 in 2000. Where chroot only swaps the root directory, a jail also fences off processes, users and network addresses: root inside a jail cannot load kernel modules, see processes outside it or bind to any address it wasn't given.

Every jail shares the host kernel, so the overhead is close to nothing. VNET later gave each jail its own network stack, with its own interfaces and firewall rules. Solaris followed with zones in 2004, Linux assembled namespaces piece by piece, and when Docker arrived in 2013 the FreeBSD crowd pointed out — accurately and to little effect — that they had this already.

← Back to the lexicon