Do you really need LXD?

@rswindell At the time of writing snaps need to be built using an Ubuntu 16.04 host/container/VM. Installing LXD allows you to run Ubuntu 18.04 yet still build in 16.04 containers. More importantly, using LXD containers and snapcraft cleanbuild ensure you have a clean build environment for your snaps.

However, we do realise that using LXD and snapcraft cleanbuild is not an obvious route. To remedy this the Snapcraft team have been working on “Build VMs” to transparently create clean build environments for you. You can read more about it here:

1 Like