Jails are considerably different than containers. Jails are more like chroot jails on linux instead.
Edit: My viewpoint was focused more on the composability aspect of containers. But I stand corrected otherwise.
Edit: My viewpoint was focused more on the composability aspect of containers. But I stand corrected otherwise.
Thats incorrect both jails and "containers" are examples of OS level virtualization[1]. Instead of virtualizing the hardware you virtualize the operating system, ie system call table.
[1]: https://en.wikipedia.org/wiki/Operating-system-level_virtual...