[CRIU] docker restore from checkpoint - cgroup and mountpoints error

vikram kaul kaul.vikram.kaul at gmail.com
Tue Jul 12 20:19:23 PDT 2016


I am trying to do a C/R on a docker container. In the past I have been
working with lightweight containers derived from alpine. However, I now
have to use Ubuntu xenial containers. I have created a stackoverflow
question for this (link given), but I will provide a summary so that you
can get some context

http://stackoverflow.com/questions/38341520/docker-restore-from-checkpoint-cgroup-and-mountpoints-error

So, I am getting

mount.c:2555): mnt: Unable to statfs ./HOME: No such file or directory

and

Error (cgroup.c:1152): cg: No set 1 found

errors when I try to create a docker container from a checkpoint of an
currently running container. When creating the checkpoint, I keep the
source container running. Note that if I checkpoint (and shutdown the
source container) and then restore the same container, it works.

I upgraded to the latest criu/crit from source (ver 2.4) - seeing that
there are a bunch of changes to cgroup handling - but that did not help.

I presume that since I don't have any trouble with alpine derived
containers with restoring to new ones while the source is still running,
 it must be something related to Xenial derived containers. But I really
don't know where to look.

Any help will be appreciated
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20160712/c2a3fcd0/attachment.html>


More information about the CRIU mailing list