[lxc-users] upgrading to lxd-daily and migrating to unprivileged containers

Joe McDonald ideafilter at gmail.com
Sat Mar 21 01:52:06 UTC 2015


Great.  upgrade went smoothly. thank you.

question:  are the /usr/bin/lxc-* commands now deprecated in favor of
plain "lxc"?
how to do lxc-attach ?
using the lxc-attach no longer works:
$ lxc-attach -n first
lxc-attach: attach.c: lxc_attach: 632 failed to get the init pid
get errors for other lxc-* commands as well.

is "lxc exec first  /bin/bash"  the new lxc-attach?

thanks in advance,
-joe


On Thu, Mar 19, 2015 at 7:08 PM, Serge Hallyn <serge.hallyn at ubuntu.com> wrote:
> Quoting Joe McDonald (ideafilter at gmail.com):
>> I am on lxc 1.07 and would like to upgrade to lxd and latest lxc.
>> I have: ppa:ubuntu-lxc/stable  as a repository.
>> Do I need to remove that and remove lxc before following the
>
> No, you can keep it.
>
>> instructions on https://github.com/lxc/lxd/blob/master/README.md ?
>> Or will following those instructions simply upgrade my system?
>>
>> Also, my lxc containers are currently privileged containers
>> on /var/lib/lxc  is there any way to "migrate" them to
>> unprivileged containers?
>
> Hm, shouldn't be hard to write a script to do that.  The rootfs will
> need to be moved, and the configuration moved into the database.
>
>> Finally I want to thank Bostjan Skufca and Fajar Nugraha for helping
>> me with lxc bridging question, solution worked great.
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
> _______________________________________________
> 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