<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Wed, Oct 12, 2016 at 10:21 AM Stéphane Graber <<a href="mailto:stgraber@ubuntu.com">stgraber@ubuntu.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br class="gmail_msg"><br><br class="gmail_msg"><br>As of a few minutes ago, LXD is now available as a snap in the stable channel.<br class="gmail_msg"><br>This has been confirmed to work on both Ubuntu 16.04 and 16.10, provided<br class="gmail_msg"><br>that snapd and snap-confine are perfectly up to date.<br class="gmail_msg"><br><br class="gmail_msg"><br>If you want to try it, pick a machine that you're NOT using LXD on and do:<br class="gmail_msg"><br> - apt remove --purge lxd lxd-client<br class="gmail_msg"><br> - groupadd --system lxd<br class="gmail_msg"><br> - snap install lxd<br class="gmail_msg"><br> - lxd init<br class="gmail_msg"><br> - lxd.lxc launch ubuntu:16.04 xenial<br class="gmail_msg"><br><br class="gmail_msg"><br>This will remove your existing LXD to prevent any confusion between the<br class="gmail_msg"><br>snap and packaged version, will ensure that you have a "lxd" group on<br class="gmail_msg"><br>your system and then install LXD. Note that the daemon can take a little<br class="gmail_msg"><br>while to startup on first installation, so you may have to retry the<br class="gmail_msg"><br>"lxd init" step.<br class="gmail_msg"><br><br class="gmail_msg"><br>And that's it, you've got LXD running with your first container!<br class="gmail_msg"></blockquote><div><br></div><div>Excellent! I was just trying this from --beta yesterday but reverted to the apt lxd package. I'll try again today :)<br><br></div><div>-Michael<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br class="gmail_msg"><br>The default values in lxd init will get you a ZFS backed storage and a<br class="gmail_msg"><br>working network for your containers.<br class="gmail_msg"><br><br class="gmail_msg"><br>Our channel setup looks something like:<br class="gmail_msg"><br> - stable (manual, latest release)<br class="gmail_msg"><br> - candidate (semi-automatic, staging area for stable)<br class="gmail_msg"><br> - beta (manual, unused currently)<br class="gmail_msg"><br> - edge (automatic, auto-upload when git master changes)<br class="gmail_msg"><br><br class="gmail_msg"><br>Note that edge can be updated up to 5-6 times a day (as it was today).<br class="gmail_msg"><br><br class="gmail_msg"><br>Known limitations (sorted by priority):<br class="gmail_msg"><br> - "lxd" group must exist ahead of time: <a href="https://bugs.launchpad.net/snappy/+bug/1606510" rel="noreferrer" class="gmail_msg" target="_blank">https://bugs.launchpad.net/snappy/+bug/1606510</a><br class="gmail_msg"><br> - Updating the snap restarts all containers: <a href="https://bugs.launchpad.net/snappy/+bug/1632508" rel="noreferrer" class="gmail_msg" target="_blank">https://bugs.launchpad.net/snappy/+bug/1632508</a><br class="gmail_msg"><br> - Can't provide the "lxc" command: <a href="https://bugs.launchpad.net/snappy/+bug/1607748" rel="noreferrer" class="gmail_msg" target="_blank">https://bugs.launchpad.net/snappy/+bug/1607748</a><br class="gmail_msg"><br> - LXD always runs even when unused: <a href="https://bugs.launchpad.net/snappy/+bug/1612440" rel="noreferrer" class="gmail_msg" target="_blank">https://bugs.launchpad.net/snappy/+bug/1612440</a><br class="gmail_msg"><br> - No powerpc build due to lack of snapcraft support: <a href="https://bugs.launchpad.net/snapcraft/+bug/1632091" rel="noreferrer" class="gmail_msg" target="_blank">https://bugs.launchpad.net/snapcraft/+bug/1632091</a><br class="gmail_msg"><br> - Unable to build using a specific commit: <a href="https://bugs.launchpad.net/snapcraft/+bug/1632126" rel="noreferrer" class="gmail_msg" target="_blank">https://bugs.launchpad.net/snapcraft/+bug/1632126</a><br class="gmail_msg"><br> - Ability to distribute multiple upstream series: <a href="https://bugs.launchpad.net/snappy/+bug/1611424" rel="noreferrer" class="gmail_msg" target="_blank">https://bugs.launchpad.net/snappy/+bug/1611424</a><br class="gmail_msg"><br><br class="gmail_msg"><br>The LXD team will be working with the Snappy team to address the above limitations.<br class="gmail_msg"><br>With those sorted, we'll be able to make the LXD snap the best way to experience LXD.<br class="gmail_msg"><br><br class="gmail_msg"><br><br class="gmail_msg"><br>If you run into issues, please file bugs!<br class="gmail_msg"><br> - For LXD bugs: <a href="https://github.com/lxc/lxd/issues" rel="noreferrer" class="gmail_msg" target="_blank">https://github.com/lxc/lxd/issues</a><br class="gmail_msg"><br> - For packaging bugs: <a href="https://github.com/lxc/lxd-pkg-ubuntu/issues" rel="noreferrer" class="gmail_msg" target="_blank">https://github.com/lxc/lxd-pkg-ubuntu/issues</a><br class="gmail_msg"><br> - If unsure, file against LXD.<br class="gmail_msg"><br><br class="gmail_msg"><br>Enjoy!<br class="gmail_msg"><br><br class="gmail_msg"><br>Stéphane<br class="gmail_msg"><br>--<br class="gmail_msg"><br>Snapcraft mailing list<br class="gmail_msg"><br><a href="mailto:Snapcraft@lists.snapcraft.io" class="gmail_msg" target="_blank">Snapcraft@lists.snapcraft.io</a><br class="gmail_msg"><br>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.ubuntu.com/mailman/listinfo/snapcraft</a><br class="gmail_msg"><br></blockquote></div></div>