System Containers

What are System Containers

A system container (also known as operating system container) is the oldest container type. It is an operating system (OS) centric solution that behaves like a standalone system, which does not require specialized software or custom images such as Docker. System containers are quite similar to virtual machines (VMs) but with very low overhead and easy management.

System containers run full-featured init systems (systemd, SysVinit, Upstart, OpenRC, etc.), which allows spawning multiple processes (e.g. OpenSSH, crond, or syslogd) inside a single container under the same OS. System containers are most suitable for traditional or legacy monolithic applications, as they allow reusing architectures, tools, and configurations implemented for VMs.

services in application and system containers

The specifics of the system containers provide some benefits and peculiarities:

  • It can be considered a stateful solution. System containers support live migration (across host nodes, data centers, or even Clouds) and do not lose data/state after reboot. Such data persistence suits perfectly for running long-living stateful applications and services (including SQL, NoSQL, and in-memory database instances).
  • System containers gracefully coexist with the Java ecosystem and do not require any special adjustment for making the Java process aware that they are running inside containers.
  • System containers support the existing solutions for implementing hot redeployment without the need of restarting container or Java runtime. Also, they simplify and speed up the clustering of Java EE / Jakarta EE application servers.

There are multiple different implementations of system containers: BSD jails, Linux vServer, Solaris Zones, OpenVZ/Virtuozzo, LXC/LXD. In the case of Jelastic PaaS, the Virtuozzo solution is utilized, which helps to run thousands of system containers on the same host node and makes it easy to manage them just like a bunch of processes.

Powered by BetterDocs