Skip to content
Docs
Guest Os Compatibility

Guest OS compatibility

Virtual machines

The following operating systems (OS) were tested as virtual machine guest running on top of on LXD 5.21/stable. Each OS was tested by doing a manual installation using the official ISO as provided by the vendor.

OS vendorOS versionOS supportLXD agentVirtIO-SCSIVirtIO-BLKNVMeCSM (BIOS)UEFISecure Boot
CentOSCentOS 6.10 [1]EOL[2][6]🟢
CentOSCentOS 7.9EOL[2]🟢🟢🟢
CentOSCentOS 8.5EOL🟢🟢🟢
CentOSCentOS 8-StreamEOL🟢🟢🟢
CentOSCentOS 9-StreamSupported🟢🟢🟢
Red HatRHEL 7.9EOL[2]🟢🟢🟢
Red HatRHEL 8.10Supported🟢🟢🟢
Red HatRHEL 9.4Supported🟢🟢🟢
SUSESLES 12 SP5Supported🟢🟢🟢
SUSESLES 15 SP6Supported🟢🟢🟢
Ubuntu14.04.6 LTSEOL[7]🟢🟢🟢
Ubuntu16.04.7 LTSESM[8][9]🟢🟢🟢
Ubuntu18.04.6 LTSESM[9]🟢🟢🟢
Ubuntu20.04.6 LTSSupported🟢🟢🟢
Ubuntu22.04.4 LTSSupported🟢🟢🟢
Ubuntu24.04.1 LTSSupported🟢🟢🟢
WindowsServer 2012Supported🟢🟢
WindowsServer 2016Supported🟢🟢 [3][5]
WindowsServer 2019Supported🟢🟢[5]
WindowsServer 2022Supported🟢🟢[5]
Windows10 22H2Supported🟢🟢[5]
Windows11 23H2 [4]Supported🟢🟢

Legend

Icon
recommended
supported🟢
not applicable
not supported

Notes

LXD agent

The LXD agent provides the ability to execute commands inside of the virtual machine guest without relying on traditional access solution like secure shell (SSH) or Remote Desktop Protocol (RDP). This agent is only supported on Linux guests using systemd. For how to manually setup the agent, see Install the LXD agent into virtual machine instances.

CSM/BIOS boot

lxc config set v1 security.secureboot=false
lxc config set v1 security.csm=true

Virtual TPM

lxc config device add v1 vtpm tpm path=/dev/tpm0

VirtIO-BLK or NVMe

lxc config device override v1 root io.bus=virtio-blk
# or
lxc config device override v1 root io.bus=nvme

Disconnect the ISO

lxc config device remove v1 iso

Containers

Unlike virtual machines, container guests rely on the host’s kernel for execution. Since each Linux distribution ships with a unique set of features supported by their official kernels, the possibilities are almost endless. As such, the following compatibility table focuses on hosts running Ubuntu LTS releases with LXD 5.21/stable and Ubuntu releases as container guests. The main compatibility factor is the cgroup version required by the container and supported by the host.

Host OS / Guest OSUbuntu 16.04 LTSUbuntu 18.04 LTSUbuntu 20.04 LTSUbuntu 22.04 LTSUbuntu 24.04 LTSUbuntu 24.10
Ubuntu 20.04 LTS 5.4.0 [10]🟢🟢🟢🟢🟢[11]
Ubuntu 20.04 LTS 5.15.0 (HWE)🟢 [12]
Ubuntu 22.04 LTS 5.15.0🟢 [13]
Ubuntu 22.04 LTS 6.8.0 (HWE)🟢 [13]
Ubuntu 24.04 LTS 6.8.0🟢 [13]

Legend

Icon
recommended
supported🟢
not applicable
not supported