sudo apt-add-repository ppa:juju/devel
sudo apt-get update
sudo apt-get install juju-2.0
sudo apt-get -t trusty-backports install lxd
$ newgrp lxd
$ sudo lxd init
Name of the storage backend to use (dir or zfs): dir
Would you like LXD to be available over the network (yes/no)? no
Do you want to configure the LXD bridge (yes/no)? yes
<default answers here except IPV6 Configuration)
lxd stop/waiting
lxd start/running, process 4900
LXD has been successfully configured.
$ juju bootstrap lxd-test localhost