When you try to run snapcraft cleanbuild
but haven’t set up lxd correctly the error provides a link:
snapcraft cleanbuild --debug
If this is your first time running LXD on this machine, you should also run: lxd init
To start your first container, try: lxc launch ubuntu:16.04
Permission denied, are you in the lxd group?
There are either no permissions or the remote ‘local’ does not exist.
Verify the existing remotes by running
lxc remote list
Refer to the documentation at https://linuxcontainers.org/lxd/getting-started-cli.
This is a great idea but sends the users to the generic LXD howto.
Instead it should point the user to the snapcraft doco on lxd such as: