[lxc-users] lxc-users Digest, Vol 55, Issue 5

Tycho Andersen tycho.andersen at canonical.com
Sat Jan 3 22:04:23 UTC 2015


On Sat, Jan 03, 2015 at 09:55:53PM +0100, Thouraya TH wrote:
> i have used the '-s' option.
> 
> root at machine-4:/home# lxc-ls -f
> NAME     STATE    IPV4        IPV6  GROUPS  AUTOSTART
> -----------------------------------------------------
> *worker   RUNNING  10.0.3.109  -     -       NO   *
> 
> root at machine-4:/home# *lxc-checkpoint -s* -D /home/ImGLXC1Worker -n worker
> root at machine-4:/home# lxc-ls -f
> NAME     STATE    IPV4  IPV6  GROUPS  AUTOSTART
> -----------------------------------------------
> worker  * STOPPED*  -     -     -       NO
> 
> root at machine-4:/home# lxc-checkpoint -r -D /home/ImGLXC1Worker -n worker
> root at machine-4:/home# lxc-ls -f
> NAME     STATE    IPV4        IPV6  GROUPS  AUTOSTART
> -----------------------------------------------------
> worker   *RUNNING*  10.0.3.109  -     -       NO
> worker1  STOPPED  -           -     -       NO
> 
> root at machine-4:/home#* lxc-attach -n worker*
> root at machine-4:/home#
> 
> Question 1:   lxc-attach didnt' work after restart !! Have you an idea
> please ?

This is a known bug that I have unfortunately not had enough time to
look into. It is definitely something that needs to be fixed, though
:)

> Question 2: i'd like to do the dumping process* in parallel with the
> execution*, stop the container and how can i do the restart in this case ?

By "in parallel" I guess you mean using criu's pre-dump? I haven't had
time to implement support for that in lxc proper, unfortunately.

Tycho

> Thanks a lot for help.
> Best Regards.

> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



More information about the lxc-users mailing list