[CRIU] how to lively migration a vm container?

Pavel Emelyanov xemul at parallels.com
Mon May 12 12:34:41 PDT 2014


On 05/12/2014 10:37 PM, Bing X wrote:
> I am running criu on a ubuntu14.04 machine, in which I installed docker through apt-get install.
> 
> Now I want to use criu dump to lively migrate it to another machine.
> 
> the wikipedia page said :
> 
> criu dump --tree <pid> --images-dir <path-to-existing-directory> --leave-stopped
> 
> I think the pid should be the id of docker.io <http://docker.io>, but what is the path to the container I am running?

The --images-dir's argument is not the path to container directory, it's the
path to a directory CRIU will put images to.

By the way, if you're planning to play with live migration you might be interested
in the p.haul project http://criu.org/P.Haul. It's still under construction, but
shows the way live migration is done.

Thanks,
Pavel


More information about the CRIU mailing list