[lxc-users] Detailed LXD documentation?

Ozan Hazer ozanhazer at gmail.com
Tue May 5 08:19:57 UTC 2015


Ok nevermind my post, the rootfs is under /var/lib/lxd/lxc and I set the
permissions from the host shell and everything seems to be fine now.


M.Ozan Hazer

On Tue, May 5, 2015 at 11:02 AM, Ozan Hazer <ozanhazer at gmail.com> 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.
> 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...
>
>
> 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?
>
>
> Thanks in advance,
> M.Ozan Hazer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150505/b408e97e/attachment.html>


More information about the lxc-users mailing list