[CRIU] Restarting Process in an LXC Container

Thouraya TH thouraya87 at gmail.com
Wed Jan 21 08:20:07 PST 2015


Hello :)

i have repeated all steps from the begining.
The only change I made:

*Before the dumping process, *instead of
                    root at g-2:~# lxc-start -n worker
                    root at g-2:~# *lxc-attach -n worker*

i have done:

                    root at g-2:~# lxc-start -n worker
                    root at g-2:~# *ssh ubuntu@$(sudo lxc-info -n worker -H
-i)*

Dumping Process.
Then, after restart, the process "test.sh" restarts well :)

./test.sh > results.txt
As you see, the result of test.sh is saved in the file results.txt. When, i
restart the container, the process test.sh restarts and  the old file is
overwritten! i find only the new results in the file !

Have you an idea please ?

Thanks a lot for help.
Best Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150121/fc632d2f/attachment.html>


More information about the CRIU mailing list