LXD requires Go 1.13 or higher and is only tested with the golang compiler.
The minimum supported kernel version is 3.13.
LXD requires a kernel with support for:
- Namespaces (pid, net, uts, ipc and mount)
The following optional features also require extra kernel options:
- Namespaces (user and cgroup)
- AppArmor (including Ubuntu patch for mount mediation)
- Control Groups (blkio, cpuset, devices, memory, pids and net_prio)
- CRIU (exact details to be found with CRIU upstream)
As well as any other kernel feature required by the LXC version in use.
LXD requires LXC 3.0.0 or higher with the following build options:
- apparmor (if using LXD's apparmor support)
To run recent version of various distributions, including Ubuntu, LXCFS should also be installed.
For virtual machines, QEMU 4.2 or higher is preferred. Older versions, as far back as QEMU 2.11 have been reported to work properly, but support for those may accidentally regress in future LXD releases.
Additional libraries (and development headers)
dqlite for its database, to build and setup the custom
dqlite needed for it, you can run
LXD itself also uses a number of (usually packaged) C libraries:
- libuv1 (for
Make sure you have both the libraries themselves and their development headers (-dev packages) installed.