<div dir="ltr"><div>Yeah, I wish I realized that before setting up everything :\</div><div>I agree with the central configuration thing, it reduces the portability too at first glance. However not sure if it should be considered as a deficiency...</div><div>lxd is designed this way and instead of manually doing things (copying etc.) it provides tools for it which attracted me in the first place. I can do what lxd does with lxc-* commands already but lxd is much easier to use and gives the feeling of vagrant and docker.</div><div>There is lxc copy and move and I bet (or hope?) there will be some export or backup command in the future... The configurations are kept in sqlite (/var/lib/lxd/lxd.db) so extracting the config should not be that hard (hope again :) )</div><div><br></div><div>The problem that hit me is lxd is apparently is not mature enough and the announcement that ubuntu made and advertised misleaded me since I'm a developer and not following server technologies closely.</div><div><br></div><div>For the auto-startup issue I ended up with writing a systemd job for startup and I guess I'll need smt. else for a clean shutdown too... I have atlassian products (jira & stash) running inside the container and they are not starting for some reason... Still investigating...</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">---------- Forwarded message ----------<br>From: Andrey Repin <<a href="mailto:anrdaemon@yandex.ru">anrdaemon@yandex.ru</a>><br>To: Serge Hallyn <<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>><br>Cc: <br>Date: Tue, 5 May 2015 19:24:52 +0300<br>Subject: Re: [lxc-users] How to auto-start LXC containers with LXD<br>Greetings, Serge Hallyn!<br>>> How do I configure LXC containers so that it'll start automatically in<br>>> Ubuntu 15.04 and LXD?<br>>> Ubuntu documentation states that the containers with the configuration<br>>> lxc.start.auto=1 will be started on boot however I couldn't find the config<br>>> file for the container.<br>> For default privileged containers the config file is<br>> /var/lib/lxc/$containername/config<br>He did meantion LXD explicitly.<br>There's no "config" in LXD containers. Which I find a certain deficiency of<br>the design. If I can't get a backup of entire container together with config,<br>it has no use for me.<br><br>--<br>With best regards,<br>Andrey Repin<br>Tuesday, May 5, 2015 19:23:34<br>Sorry for my terrible english...</blockquote><div><div class="gmail_signature"><br>M.Ozan Hazer</div></div>
</div>