[lxc-devel] How to migrate a running task out of a container (and vice versa)?

Dan duyle.vn at gmail.com
Wed May 25 16:51:21 UTC 2011


Hello,

Cgroup allows to migrate tasks between two groups with associated
charges by enabling memory.move_charge_at_immigrate.

However, I was wondering if it is possible to live migrate a running
task originally performed inside a container to outside of that
container, and vice versa. As an example, on a host H1, a process P1
is performed inside a container C1. Without shutting down P1, does LXC
allow P1 to be able to directly run on H1 without C1?

Sorry for this newbie question. Any help would be appreciated,

Dan




More information about the lxc-devel mailing list