LXD runs and manages full Linux systems in containers or VMs from one control plane. It exposes a REST API and scales from one host to clustered deployments.
Overview
LXD is a container and virtual machine manager for Linux hosts. It unifies system containers based on LXC and KVM-based virtual machines, with images for many distributions and optional Windows VMs.
Operators use the daemon API and the lxc client to create instances, apply profiles and projects, restrict resources, snapshot, live-migrate, and cluster many servers. Integrations include Ansible, Terraform, Packer, and MicroCloud for a small private-cloud style setup.
Security features called out include unprivileged containers by default, VirtIO for VMs, UEFI Secure Boot, and vTPM support. Storage and networking options span OVN, SR-IOV, GPU passthrough, and high-availability layouts with Ceph and OVN.
The LXD daemon runs on Linux while client tools are available on other operating systems. Installation is documented for packages, snaps, and source builds across distributions.
Key features
- System containers and KVM VMs
- REST API control plane
- Clustering and live migration
- Snapshots and resource limits
- Profiles and projects
- Image-based instance launch
- SDK clients in Go and Python
- Unprivileged containers by default
Use cases
- On-prem lightweight private cloud
- Development and production workloads
- Mixed container and VM estates
- Infrastructure automation at scale
Open-source alternative to
ESXi“ESXi Alternative: try open source LXD ›” source