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

Oren Laadan orenl at cs.columbia.edu
Wed Mar 24 12:27:59 PDT 2010



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.


More information about the Containers mailing list