[Lxc-users] when Host OS upgrades its linux kernel .. what happens in LXC containers?

Dan Kegel dank at kegel.com
Mon Sep 10 04:27:30 UTC 2012


On Sun, Sep 9, 2012 at 9:22 PM, brian mullan <bmullan.mail at gmail.com> wrote:
> Its my understanding that with LXC, the Host & containers that have a linux
> OS installed must all be using the same kernel.
>
> So what happens with the container's when the Host OS gets an upgrade that
> includes a new kernel?   Are the containers stil
> reachable, runable, etc?   I guess what I'm asking is what happens?

Since LXC is just a glorified chroot, the code inside lxc is
always running on the host kernel without you having to
do anything special.  And no separate kernel is needed inside the
container; the host kernel is all there is.

So, assuming the new kernel isn't broken, the containers should
continue working.




More information about the lxc-users mailing list