Here is the output of
snap info lxd. Shows in a single page the current full story of the snap package
$ snap info lxd
summary: System container manager and API
LXD is a container manager for system containers.
It offers a REST API to remotely manage containers over the network, using
an image based workflow and with support for live migration.
Images are available for all Ubuntu releases and architectures as well as
for a wide number of other Linux distributions.
LXD containers are lightweight, secure by default and a great alternative
to virtual machines.
lxd.activate: oneshot, enabled, inactive
lxd.daemon: simple, enabled, active
refresh-date: 2 days ago, at 11:23 GMT+1
stable: 3.5 (9010) 69MB -
candidate: 3.6 (9129) 69MB -
edge: git-452e483 (9194) 69MB -
3.0/stable: 3.0.2 (8715) 65MB -
3.0/candidate: 3.0.2 (9043) 68MB -
3.0/edge: git-4be2099 (9199) 68MB -
2.0/stable: 2.0.11 (8023) 28MB -
2.0/candidate: 2.0.11 (8023) 28MB -
2.0/edge: git-f3e2b11 (9148) 26MB -
installed: 3.6 (9129) 69MB -
Notice the channels. There is a
stable channel with LXD 3.5, and a
candidate channel with LXD 3.6.
Also, there is
3.0/stable with LXD 3.0.2 (as in Ubuntu 18.04) and
2.0/stable with LXD 2.0.11 (as in Ubuntu 16.04).
The last line says what you have installed, and I have installed LXD 3.6 (currently from
candidate) because I am hardcore.
If you have Ubuntu 16.04, you get by default LXD 2.0.x (currently LXD 2.0.11). However, you can also enable the
xenial-backports repository which will give you access to LXD 3.0.x (currently LXD 3.0.1) from Ubuntu 18.04. Ideally, I would suggest to wait a tiny bit more until LXD 3.0.2 is released and use that version. LXD 3.0.2 is currently in
bionic-proposed and should soon make it to both
When enabling a backports repository, you would need to study carefully https://help.ubuntu.com/community/UbuntuBackports The reason being that you would only want to grab LXD (and dependencies) from backports but probably not anything else. If you are still unsure after your read the UbuntuBackports page, ask here for more.