Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting our team. We will be in touch shortly.Close

  1. Blog
  2. Article

Miona Aleksic
on 26 April 2022

LXD 5.0 LTS is now available

Canonical LXD logo

The stable release of LXD, the system container and VM manager, is now available. LXD 5.0 is the fourth LTS release for LXD, and will be supported for 5 years, until June 2027. LXD 5.0 comes preinstalled with Ubuntu Server 22.04 LTS released last week, and for Ubuntu Desktop users, it’s only a couple of commands away. This release significantly steps up LXD’s abilities in comparison to LXD 4.0 LTS, especially when operating in clustered environments.

What’s new in LXD 5.0?

LXD 5.0 LTS comes with a variety of great improvements whether it’s running containers and VMs on a laptop or a variety of projects across a rack full of clustered servers. It involves significant improvements in networking, projects, and cluster areas, as well as migration features. Below is an overview of some of the key features, and a detailed announcement with a complete changelog can be found here. For those interested in demos of some of the new features, you can watch the LXD 5.0 live stream or the LXD 5.0 LTS for 4.0 users videos.


LXD 5.0 brings the the biggest improvement for networking, primarily through the addition of OVN support combined with BGP, DNS, floating IP, and hardware acceleration support. OVN is an open source virtual network system deeply integrated with the Linux kernel via the Open vSwitch, adding native support for virtual network abstractions. This opens up a variety of networking features for LXD users, such as having networks within projects, which helps avoid conflicts when multiple users are using the same LXD server. It also provides improved speed through network acceleration and peering. To improve security, LXD networking features now include ACL (Access Control List) – a function driving firewall rules enabling restriction of both incoming and outgoing (ingress and egress) traffic.


For cluster users, it is now possible to perform easy maintenance through cluster evacuation. In addition, it is now possible to group servers for easier targeting and restricting projects to a specific group of servers.  LXD 5.0 also includes support for metrics APIs that can be used with Prometheus and Grafana to get detailed instance metrics across entire clusters, similar to as shown in the photo below.


Projects have also grown a number of options for additional limits and restrictions, making it easy to safely grant access to various teams and limit their resource usage. One of these features is automated projects (multi-user setup) allowing LXD to dynamically generate restricted projects on a per user basis, enabling users to safely share workstations without affecting each other’s work. For a detailed walkthrough of the multi-user feature, you can watch this video.

Virtual Machines 

With this release, LXD Virtual machines are effectively at feature parity with containers. They now come with vTPM support, offering security-related functions, such as allowing users to create and store keys that are private and authenticate access to their systems. VMs also come with arbitrary PCI passthrough support that enables users to access and manage a variety of hardware devices from a virtual machine. VMs can now also be live-migrated and support some device hotplug and additional storage options. 


Enterprise users will appreciate the much easier lift & shift support with the reworked migration tool (lxd-migrate). The migration tool now supports both containers and VMs, and it includes a variety of new features, especially around authentication.

We will be exploring some of these features in more detail in future blogs.

For getting started with LXD, follow the get started guide.

Learn more about LXD on the LXD webpage.

Related posts

Miona Aleksic
15 March 2024

LXD 5.21.0 LTS is now available

Cloud and server Article

5.21.0 LTS, the stable release of LXD, the system container and VM manager, is now available. ...

26 September 2023

CVE 우선순위 지정을 통한 오픈 소스 보안

Security Security

최근 연구에 따르면 엔터프라이즈 시장의 애플리케이션 중 96%가 오픈 소스 소프트웨어를 사용합니다. 오픈 소스 환경이 점점 더 세분화됨에 따라 조직에 대한 잠재적인 보안 취약점의 영향을 평가하는 작업이 엄청날 수 있습니다. 우분투는 가장 안전한 운영 체제 중 하나로 알려져 있습니다. 하지만 그 이유는 무엇일까요? 우분투 보안팀은 매일 알려진 취약점에 대해 업데이트된 소프트웨어 패키지를 수정하고 릴리스하기 때문에 ...

Alex Murray
20 July 2023

Securing open source through CVE prioritisation

Cloud and server Article

According to a recent study, 96% of applications in the enterprise market use open-source software. As the open source landscape becomes more and more fragmented, the task to assess the impact of potential security vulnerabilities for an organisation can become overwhelming. Ubuntu is known as one of the most secure operating systems, but ...