Introduction

Containers offer a logical packaging mechanism in which applications can be abstracted from the environment in which they run. Containers are often compared with virtual machines (VMs).  a guest operating system such as Linux or Windows runs on top of a host operating system with virtual access to the underlying hardware. Like virtual machines, containers allow to package your application together with libraries and other dependencies, providing isolated environments for running your software services.



Why Containers?

Advantages of Containers

Linux Containers (LXC) on R-Pi

 LXC (Linux Containers) is an operating-system-level virtualization method for running multiple isolated Linux systems (containers) on a control host using a single Linux kernel. LXC relies on the Linux kernel cgroups functionality.


root@raspberrypi-rdk-hybrid-lxc:/usr/bin# ps | grep rmf
root@raspberrypi-rdk-hybrid-lxc:/usr/bin# ps -aef | grep rmf
root 1465 1 0 07:17 ? 00:00:00 /bin/sh /container/RMFSTREAMER/launcher/rmfstreamer.sh start
root 1475 1465 0 07:17 ? 00:00:00 /usr/bin/lxc-execute -n RMFSTREAMER -f /container/RMFSTREAMER/conf/lxc.conf -- /usr/bin/rmfStreamer --config /etc/rmfconfig.ini --debugconfig /etc/debug.ini
rmfstre+ 1497 1475 0 07:17 ? 00:00:00 /init.lxc.static --gid 705 --uid 705 -- /usr/bin/rmfStreamer --config /etc/rmfconfig.ini --debugconfig /etc/debug.ini

References