[libvirt-users] LXC container OS upgrade How?

Michal Privoznik mprivozn at redhat.com
Fri Oct 24 04:47:20 UTC 2014

On 20.10.2014 21:07, mallu mallu wrote:
> Can someone tell me how I can upgrade OS on a lxc container? I want to
> upgrade my containers from centos 6.4 to centos 6.5. I have upgraded the
> host on which these containers are running on to centos. But want to
> know how to upgrade the containers.

A linux container is a clone of the host (*). So even though the host 
has been updated, due to Linux philosophy running processes, deleted 
files, ... are kept around as long as there somebody/something using 
them. So you need to destroy and re-start the containers and the update 
should take effect then.


* - unless you specify chroot for the container

More information about the libvirt-users mailing list