<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000"><div>It's a bit confusing. Thanks for the explanation . <br></div><div><br data-mce-bogus="1"></div><div>I thought I was using LXD but since the beginning I am just using LXC .<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Do you know what will be the command to create a new container using LXD witch will be the same as doing this : <br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><pre>lxc-create -n test -t ubuntu -B lvm --lvname test --vgname vg_node1 --fstype ext4 --fssize 1GB</pre><div>This is how I use to deploy new containers.. so obviously, it's not LXD aware. <br></div><div><br data-mce-bogus="1"></div><div>Thanks</div><div><br></div><div data-marker="__SIG_PRE__"><div><span style="color: rgb(51, 51, 51); font-family: times new roman,new york,times,serif;" data-mce-style="color: #333333; font-family: times new roman,new york,times,serif;">Cordialement,</span><span style="color: rgb(51, 51, 51); font-family: times new roman,new york,times,serif; font-weight: bold;" data-mce-style="color: #333333; font-family: times new roman,new york,times,serif; font-weight: bold;"><span style="color: rgb(51, 51, 51); font-family: times new roman,new york,times,serif; font-weight: bold;" data-mce-style="color: #333333; font-family: times new roman,new york,times,serif; font-weight: bold;"><br></span></span></div><div>Benoit<br></div></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>De: </b>"Serge Hallyn" <serge.hallyn@ubuntu.com><br><b>À: </b>"lxc-users" <lxc-users@lists.linuxcontainers.org><br><b>Envoyé: </b>Vendredi 26 Février 2016 19:42:08<br><b>Objet: </b>Re: [lxc-users] lxc / lxd I'm lost somewhere<br></div><div><br></div><div data-marker="__QUOTED_TEXT__">Quoting Benoit GEORGELIN - Association Web4all (benoit.georgelin@web4all.fr):<br>> Hi, <br>> <br>> I have a (stupid?) question, I think I have a misunderstanding of something around LXD and LXC <br>> <br>> Here is what I don't understand <br>> <br>> $ lxc list <br>> +--------------+---------+------+------+------------+-----------+ <br>> | NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS | <br>> +--------------+---------+------+------+------------+-----------+ <br>> | test1-debian | STOPPED | | | PERSISTENT | 0 | <br>> +--------------+---------+------+------+------------+-----------+ <br>> <br>> $ lxc-ls -f <br>> NAME STATE IPV4 IPV6 GROUPS AUTOSTART <br>> ----------------------------------------------------------- <br>> Chaul RUNNING 1xx.xxx.xxx.xxx - - NO <br>> laravel RUNNING 1xx.xxx.xxx.xxx - - NO <br>> <br>> <br>> What are the difference between both commands ? <br>> Why LXD REST API only knows about the content of lxc list but not about lxc-ls ? <br>> <br>> Thanks for you help <br><br>They are a completely distinct set of containers. For one, the lxc-ls<br>ones are in /var/lib/lxc while lxc list ones are in /var/lib/lxd/containers.<br>For another, the configuration for lxd containers is in the lxd database,<br>not in configuration files, while the lxc ones are in /var/lib/lxc/$container/config.<br><br>-serge<br>_______________________________________________<br>lxc-users mailing list<br>lxc-users@lists.linuxcontainers.org<br>http://lists.linuxcontainers.org/listinfo/lxc-users<br></div></div></body></html>