I followed that guide and then navigated to
./snapcraft and used
snapcraft --destructive-mode to build inside the
lxd container. If you just
snapcraft it will try to use
multipass inside the
lxd container which seems overkill to nest a VM inside the container.
--destructive-mode is intended to be used in CI systems where the machine is ephemeral, and clean before the application is built.
Skipping stage snapcraft-libs (already ran)
Compiling pyc files...
Snapping 'snapcraft' |