Possible to make incremental checkpoints CRIU
Yeah, same concern.
what you need is predumm option.
one resource may help. github.com/xemul/p.haulp.haul make it possible to adjust predump request
runC with predump option.this is what you watch on youtube.15dockerCon.github.com/marcosnils/runc
Currently, we have serval ways to make docker checkpoint/restore.
a.Native way:github.com/boucher/docker/releases
docker checkpointdocker restore
b.runC way:github.com/marcosnils/cmtgithub.com/marcosnils/runc
runc checkpoint runc restore
c.external way:
criu dump -o dump.log -v4 -t 15215 \ -D /tmp/m1 \ --root /var/lib/docker/aufs/mnt/container id \ --manage-cgroups \ --evasive-devices \ --ext-mount-map /etc/resolv.conf:/etc/resolv.conf \ --ext-mount-map /etc/hosts:/etc/hosts \ --ext-mount-map /etc/hostname:/etc/hostname \ --ext-mount-map /etc/resolv.conf:/etc/resolv.conf
Basically, we would prefer the docker native and runc. But both do not support predump now.the hack way. github.com/marcosnils/runcbut I double the runC version is old.