I’ve previously used lxd natively, but thought I’d try in snapped lxd to really enter into the spirit of snap all the things. I installed lxd and snapcraft via snap. Snapcraft unfortunately seems unable to use the lxd delivered as a snap, as I received an error about being unable to find an lxd file or folder.
This is the process I followed along with error at the end:
$ sudo snap install --edge --classic snapcraft
$ sudo snap install lxd
$ sudo lxd init --auto
$ sudo snapcraft cleanbuild
Can not open /var/lib/snapd/seccomp/profiles//snap.lxd.lxc (No such file or directory)
aborting: No such file or directory
Something seems to be wrong with your installation of LXD.
Refer to the documentation at https://linuxcontainers.org/lxd/getting-started-cli.