talira

Modern, secure and powerful system container and virtual machine manager

open sourceAGPL-3.0-onlyself-hostablefree

LXD is Canonical's manager for system containers and virtual machines on Linux. It runs full Linux systems in LXC system containers or QEMU/KVM virtual machines (Windows guests too) from built-in image stores, including official Ubuntu images, all behind one REST API. You install it as a snap and drive it with the lxc client (also on macOS and Windows), the LXD web UI or the API; up to 50 servers join one cluster, with projects, profiles, live migration, scheduled snapshots, OVN and SR-IOV networking and Ceph storage, and MicroCloud builds a small cloud on top. LTS releases come every two years with five years of support, and commercial support is part of Ubuntu Pro. LXD began in the Linux Containers project; Canonical moved it under its own projects in July 2023 and relicensed its code as AGPL-3.0-only from LXD 5.20, with a contributor agreement for new contributions. The community fork is Incus.

Ways to install

App stores

Package managers

Problems it solves

  • run lightweight Linux machines on Ubuntu servers that start in seconds and share the host kernel
  • move off VMware ESXi to an open source platform that runs both VMs and containers
  • run Windows virtual machines next to Linux containers on the same host
  • install a container and VM manager with one command that keeps itself updated
  • get vendor support with SLAs for our container and VM platform as part of our Ubuntu subscription
  • join up to 50 servers into one cluster that runs thousands of containers and VMs
  • manage containers and virtual machines from a browser instead of the terminal
  • take scheduled snapshots of every instance that expire automatically
  • live-migrate a running VM to another cluster member before host maintenance
  • give each tenant a restricted project with its own limits on shared virtualization hosts
  • keep VMs highly available with replicated Ceph storage and OVN networking
  • use SR-IOV network cards and hardware offload for container and VM networking
  • sign in to our container management API and UI through our OIDC identity provider
  • have bare-metal provisioning create virtual machines on our container hosts on demand
  • drive containers and VMs from Go or Python code

View all 22 problems

Features

  • system containers (LXC) and QEMU/KVM virtual machines, including Windows VMs, on one platform
  • built-in image stores with images for many Linux distributions
  • REST API, the lxc command line client and the LXD web UI (shipped in the snap)
  • clusters of up to 50 servers with thousands of instances on a shared distributed database (Dqlite)
  • projects for multi-tenant segmentation and profiles for shared configuration
  • live migration and stateful snapshots; scheduled snapshots with automatic expiry
  • resource limits for CPU, memory, network I/O, disk space and some kernel resources
  • hardware passthrough for GPUs, USB devices, NICs and disks
  • OVN, SR-IOV and hardware-accelerated networking
  • high availability clustering with Ceph and OVN
View 9 more
  • unprivileged containers by default; VirtIO-only VMs with UEFI Secure Boot and vTPM
  • OpenID Connect single sign-on and bearer token authentication for the API
  • image registries that projects can restrict (LXD 6.10)
  • disaster recovery with storage replication
  • LXD CSI driver for Kubernetes
  • Go and Python (pylxd) client SDKs under Apache-2.0
  • lxc client for macOS (Homebrew) and Windows (Chocolatey)
  • LTS releases every two years, each supported for five years
  • MicroCloud and MAAS integration

Limitations

  • Doesn't run its server on macOS or Windows: the LXD daemon only works on Linux, and only the lxc client runs elsewhere45

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Has official SDKsplan not known
Has single sign-onplan not known

Forks

  • Incus Next-generation system container, application container and virtual machine manager. Its own project since 2023.

Alternatives

The same job

These do what LXD does.

  1. Incus Next-generation system container, application container and virtual machine manager
  2. Proxmox VE Open-source server virtualization platform for KVM virtual machines and LXC containers
  3. Firecracker Secure and fast microVMs for serverless computing
  4. virt-manager A desktop user interface for managing virtual machines through libvirt
  5. Harvester The open-source hyperconverged infrastructure solution for a cloud-native world
  6. Proxmox VE Helper-Scripts One-command installations for services, containers and VMs on Proxmox VE

Compare LXD with the top 3