[Lxc-users] Differences between application and system container

Greg Kurz gkurz at fr.ibm.com
Tue Jan 3 10:53:32 UTC 2012


On Tue, 2012-01-03 at 11:10 +0100, Daniel Lezcano wrote:
> On 12/30/2011 12:14 PM, Ulli Horlacher wrote:
> > On Mon 2011-12-26 (18:25), Wai-kit Sze wrote:
> >
> >> What are the difference between application containers and system
> >> containers? Both of them can start a command directly.
> > An application container starts one single program.
> > A system container starts (boots) a whole linux system.
> 
> Right.
> 
> application container => applicaton running in a container
> system container => system running in a container
> 

Yeah, basically, that means:
- system containers perform full isolation of VFS, network, pids...
etc... and run a standard /sbin/init as pid 1.
- application containers perform partial isolation (pids and some
filesystems like /proc) and run a custom lxc-init instead of /sbin/init

-- 
Gregory Kurz                                     gkurz at fr.ibm.com
Software Engineer @ IBM/Meiosys                  http://www.ibm.com
Tel +33 (0)534 638 479                           Fax +33 (0)561 400 420

"Anarchy is about taking complete responsibility for yourself."
        Alan Moore.





More information about the lxc-users mailing list