Daniel Lezcano wrote: > Sukadev Bhattiprolu wrote: >> Link lxc_checkpoint, lxc_restart with USERCR[2] >> > >> 3. Checkpoint/restart a simple LXC container >> >> $ lxc-execute --name foo --rcfile lxc-no-netns.conf -- /bin/sleep >> 1000 >> >> $ lxc-freeze --name foo >> >> $ lxc-checkpoint --name foo --image /root/lxc-foo.ckpt >> >> $ lxc-unfreeze --name foo > > IMO, the freeze / thaw should be done in the lxc_checkpoint function code. > >> $ lxc-stop --name foo >> >> $ lxc-restart --name foo --image /root/lxc-foo.ckpt > > Is the container restarted in a frozen state ? > > It could if given the proper flag to sys_restart(). Oren. _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers