[lxc-users] Live Migration of a Container

Thouraya TH thouraya87 at gmail.com
Tue Jan 20 12:28:49 UTC 2015


Hello,

I try to test your tutorial: (step by step)
http://tycho.ws/blog/2014/09/container-migration.html

*1)*  I have created a container: (i'm behind a proxy)
     root at g-3:~# lxc-create -t ubuntu -n u1 http_proxy=True

*2)*

   cat << EOF | sudo tee -a /var/lib/lxc/u1/config
   # hax for criu
   lxc.console = none
   lxc.tty = 0
   lxc.cgroup.devices.deny = c 5:1 rwm
   EOF

*3) *I have create the script "migrate"; chmod +x migrate
*4)*  I accessed the container:
    root at g-3:/home# ssh ubuntu@$(sudo lxc-info -n u1 -H -i)
   * ssh: Could not resolve hostname : Name or service not known*
    root at g-3:/home# lxc-start -n u1
    root at g-3:/home# lxc-attach -n u1
    root at u1:/home# ls

Please, have to use ssh or not ?

Thanks a lot for help.
Best regards.
Thouraya.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150120/4d5ac21e/attachment.html>


More information about the lxc-users mailing list