Quoting Tycho Andersen (tycho.ander...@canonical.com): > On Tue, May 05, 2015 at 11:02:28AM +0300, Ozan Hazer wrote: > > Hi... I'm setting up a new server and decided to use LXD for LXC management > > but I'm not sure if it's too early for that... > > The OS is ubuntu 15.04 and I don't have LXC experience, I just read some... > > > > I created a container with this: > > > > lxd-images import lxc ubuntu trusty amd64 --alias ubuntu > > lxc launch ubuntu atlassian > > > > I'd expect to see /var/lib/lxc/atlassian but the /var/lib/lxc directory is > > empty. > > The lxcpath LXD uses is /var/lib/lxd/lxc. > > > I also can see the container running if I run lxc list: > > > > +-----------+---------+------------+------+-----------+ > > | NAME | STATE | IPV4 | IPV6 | EPHEMERAL | > > +-----------+---------+------------+------+-----------+ > > | atlassian | RUNNING | 10.0.3.148 | | NO | > > +-----------+---------+------------+------+-----------+ > > > > however lxc-ls doesn't print out anything. > > > Am I doing smt. wrong or missing some point? Also I'd be glad if you could > > point me to some useful documentation about this... > > The lxc-* tools are replaced entirely by the lxc frontend to lxd. You > can mix them (although it's not recommended) by passing the right > lxcpath to the lxc-* tools if you want, though.
You can only mix a few, namely the ones which don't require a config, since the configuration is stored in the lxd.db. So i think it's safer to just say you can't mix them. > > What I'm trying to do is to run Jira installer inside a container. I tried > > > > lxc file push atlassian-jira-6.4.3-x64.bin > > atlassian/tmp/atlassian-jira-6.4.3-x64.bin > > lxc exec atlassian /atlassian-jira-6.4.3-x64.bin > > > > Obviously it complained about permissions, tried to give exec permissions > > without luck. I created the container with root, is this some apparmor > > thing or other security counter measures? > > Can you paste exactly the steps you took and the error messages you > got? > > Tycho > > > > > Thanks in advance, > > M.Ozan Hazer > > > _______________________________________________ > > lxc-users mailing list > > lxc-users@lists.linuxcontainers.org > > http://lists.linuxcontainers.org/listinfo/lxc-users > > _______________________________________________ > lxc-users mailing list > lxc-users@lists.linuxcontainers.org > http://lists.linuxcontainers.org/listinfo/lxc-users _______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users