[Devel] Re: [RFC][PATCH 0/5][lxc]: Link with USERCR

Daniel Lezcano dlezcano at fr.ibm.com
Mon Mar 22 07:45:01 PDT 2010


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 ?

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list