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

Andrew Vagin avagin at virtuozzo.com
Wed Jul 13 13:32:00 PDT 2016


Hi Vikram,

Could you show /proc/PID/mountinfo and /proc/PID/cgroup for the
container init script and full criu logs?

On Tue, Jul 12, 2016 at 11:19:23PM -0400, vikram kaul wrote:
> 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

> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu



More information about the CRIU mailing list