Announce: LXD available as a snap

Stéphane Graber stgraber at ubuntu.com
Tue Oct 11 23:20:21 UTC 2016


Hello,

As of a few minutes ago, LXD is now available as a snap in the stable channel.
This has been confirmed to work on both Ubuntu 16.04 and 16.10, provided
that snapd and snap-confine are perfectly up to date.

If you want to try it, pick a machine that you're NOT using LXD on and do:
 - apt remove --purge lxd lxd-client
 - groupadd --system lxd
 - snap install lxd
 - lxd init
 - lxd.lxc launch ubuntu:16.04 xenial

This will remove your existing LXD to prevent any confusion between the
snap and packaged version, will ensure that you have a "lxd" group on
your system and then install LXD. Note that the daemon can take a little
while to startup on first installation, so you may have to retry the
"lxd init" step.

And that's it, you've got LXD running with your first container!

The default values in lxd init will get you a ZFS backed storage and a
working network for your containers.

Our channel setup looks something like:
 - stable (manual, latest release)
 - candidate (semi-automatic, staging area for stable)
 - beta (manual, unused currently)
 - edge (automatic, auto-upload when git master changes)

Note that edge can be updated up to 5-6 times a day (as it was today).

Known limitations (sorted by priority):
 - "lxd" group must exist ahead of time: https://bugs.launchpad.net/snappy/+bug/1606510
 - Updating the snap restarts all containers: https://bugs.launchpad.net/snappy/+bug/1632508
 - Can't provide the "lxc" command: https://bugs.launchpad.net/snappy/+bug/1607748
 - LXD always runs even when unused: https://bugs.launchpad.net/snappy/+bug/1612440
 - No powerpc build due to lack of snapcraft support: https://bugs.launchpad.net/snapcraft/+bug/1632091
 - Unable to build using a specific commit: https://bugs.launchpad.net/snapcraft/+bug/1632126
 - Ability to distribute multiple upstream series: https://bugs.launchpad.net/snappy/+bug/1611424

The LXD team will be working with the Snappy team to address the above limitations.
With those sorted, we'll be able to make the LXD snap the best way to experience LXD.


If you run into issues, please file bugs!
 - For LXD bugs: https://github.com/lxc/lxd/issues
 - For packaging bugs: https://github.com/lxc/lxd-pkg-ubuntu/issues
 - If unsure, file against LXD.

Enjoy!

Stéphane
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161011/1fb59c55/attachment.sig>


More information about the Snapcraft mailing list