Canonical Verified account

Install latest/stable of LXD

Make sure snap support is enabled in your Desktop store.

Install using the command line

Don't have snapd? Get set up for snaps.

Channel Version Published

System container manager and API

LXD is a system container manager

With LXD you can run hundreds of containers of a variety of Linux distributions, apply resource limits, pass in directories, USB devices or GPUs and setup any network and storage you want.

LXD containers are lightweight, secure by default and a great alternative to running Linux virtual machines.

Run any Linux distribution you want

Pre-made images are available for Ubuntu, Alpine Linux, ArchLinux, CentOS, Debian, Fedora, Gentoo, OpenSUSE and more.

A full list of available images can be found here: https://images.linuxcontainers.org

Can't find the distribution you want? It's easy to make your own images too, either using our distrobuilder tool or by assembling your own image tarball by hand.

Containers at scale

LXD is network aware and all interactions go through a simple REST API, making it possible to remotely interact with containers on remote systems, copying and moving them as you wish.

Want to go big? LXD also has built-in clustering support, letting you turn dozens of servers into one big LXD server.

Configuration options

Supported options for the LXD snap (snap set lxd KEY=VALUE):

  • criu.enable: Enable experimental live-migration support [default=false]
  • daemon.debug: Increases logging to debug level [default=false]
  • daemon.group: Group of users that can interact with LXD [default=lxd]
  • ceph.builtin: Use snap-specific ceph configuration [default=false]
  • openvswitch.builtin: Run a snap-specific OVS daemon [default=false]

Documentation: https://lxd.readthedocs.io

Developer website

Contact Canonical

Details for LXD

Last updated
3 November 2019

Share this snap

Generate an embeddable card to be shared on external websites.

Where people are using LXD

Users by distribution (log)

ubuntu 19.04
ubuntu 19.10
ubuntu 18.10
ubuntu 18.04
ubuntu 16.04
debian 9
debian 10
ubuntu 20.04
centos 7
linuxmint 19.2
debian sid
fedora 30
raspbian 10
raspbian 9
neon 18.04
ubuntu 14.04
fedora 31
ubuntu 17.10
linuxmint 19.1
linuxmint 19
zorin 15
linuxmint 18.3
elementary 5.0
kali 2019.4
fedora 29
deepin 15.11
opensuse-leap 15.1
solus 4.0
ubuntu-core 18
ubuntu 17.04
linuxmint 18.2
zorin 12
parrot 4.7
opensuse-leap 15.0
rhel 7.6
ubuntu-core 16
fedora 28
linuxmint 18.1
ubuntu 16.10
debian 8

Related blog posts

Install LXD on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.

Is there a problem with LXD? Report this app