Canonical LXD | Canonical (2024)

Menu Close menu

Fast, dense, and secure container and VM management at any scale

LXD provides a unified user experience for managing system containers and virtual machines. For more demanding workloads, LXD can be set up in a cluster environment to run containers, VMs, or a combination of the two on a set of machines. LXD has direct hardware access, minimising overhead and matching the density and efficiency of containers.

Install now

Canonical LXD | Canonical (2)

Why choose LXD?

Run a full Linux OS inside a container

LXD system containers run a complete filesystem with background processes. This allows you to run any workload, or containerise your traditional systems and apps without modifying the apps or your operations. LXD containers offer the density and efficiency of containers with a VM-like experience.

Cloud-like experience

LXD is image based and supports images for a large number of Linux distributions. It comes with built-in image stores that supply official Ubuntu images and images provided by the community, which allows you to spin up a container or a VM in a matter of seconds. Existing integrations with various deployment and orchestration tools allow you to manage your infrastructure in a cloud-like way.

Secure and scalable

LXD runs unprivileged containers by default — protecting the host system from potential attacks. For virtual machines, LXD uses modern virtual hardware (VirtIO) exclusively. In addition, it utilises UEFI SecureBoot and provides vTPM support.

Resource restrictions through cgroups and ulimits, as well as RBAC, are also supported.

LXD is also easy to scale — from containers on your laptop to thousands of instances in the data centre.

Alternatives for running workloads

System containers

  • To run a full Linux OS inside a container
  • Utilises Kernel of the host
  • Identical performance to bare metal

Virtual machines

  • For workloads needing a different kernel or OS than the host
  • Legacy free
  • Cloud-like experience

Clusters for more demanding workloads

  • Up to 50 servers in a unified cluster with 1000s of instances
  • Run containers, VMs, or a combination of the two
  • Same distributed database
  • Managed uniformly

Watch this deep dive into LXD clustering

Canonical LXD | Canonical (2024)
Top Articles
Latest Posts
Article information

Author: Foster Heidenreich CPA

Last Updated:

Views: 5930

Rating: 4.6 / 5 (76 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Foster Heidenreich CPA

Birthday: 1995-01-14

Address: 55021 Usha Garden, North Larisa, DE 19209

Phone: +6812240846623

Job: Corporate Healthcare Strategist

Hobby: Singing, Listening to music, Rafting, LARPing, Gardening, Quilting, Rappelling

Introduction: My name is Foster Heidenreich CPA, I am a delightful, quaint, glorious, quaint, faithful, enchanting, fine person who loves writing and wants to share my knowledge and understanding with you.