For example, from my Ubuntu 14.04 KVM server, I'm running: sudo add-apt-repository ppa:ubuntu-lxc/lxd-stable sudo apt-get update sudo apt-get install lxd lxc remote add images images.linuxcontainers.org lxc launch images:ubuntu/trusty/amd64 trusty-64 lxc exec trusty-64 /bin/bash
Then, inside the "trusty-64", I'm trying the nested LXD but... apt-get install software-properties-common sudo add-apt-repository ppa:ubuntu-lxc/lxd-stable sudo apt-get update sudo apt-get install lxd # lxd process isn't runnig but: lxc remote add images images.linuxcontainers.org ...works... But, nested LXD doesn't come up: root@trusty-64:~# lxc launch images:ubuntu/trusty/amd64 trusty-64 error: Get http://unix.socket/1.0: dial unix /var/lib/lxd/unix.socket: connect: no such file or directory What am I missing? Maybe something like this: https://s3hh.wordpress.com/2014/03/31/nested-lxc/ ??? Thanks! Thiago On 23 October 2015 at 14:25, Martinx - ジェームズ <[email protected]> wrote: > Guys, > > I need to create 4, or more, LXD containers, inside 1 LXD container. > > How to do that? > > The first LXD container, is running on a KVM (or bare-metal) host, > with Ubuntu 14.04 + LXD 0.20 (ppa:ubuntu-lxc/lxd-stable). > > I really appreciate any help! > > I'm seeing that both LXC itself, and LXD, supported nested containers but, > how? > > I'm trying but, it doesn't work... > > Thanks in advance! > > Best, > Thiago -- ubuntu-server mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
