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