Table of contents
🐧 What is LXD on Ubuntu?
Key Features
LXD vs LXC
Quick Start
🌐 Web UI
What is LXD on Ubuntu?
🐧 What is LXD on Ubuntu?
LXD (pronounced lex-dee) is a modern, secure, and powerful system container and virtual machine manager for Linux, developed by Canonical. It's nicknamed the "lightervisor" — a lightweight hypervisor.
Key Features
- System Containers — Full Linux OS instances sharing the host kernel (near-native perf, boots in seconds)
- Virtual Machines — Run full VMs with their own kernel since 4.0 LTS, at feature parity since 5.0 LTS
- CLI & Web UI — Manage via command line or browser at
https://127.0.0.1:8443
- Snapshots — Quick snapshot & restore of instances
- Snap-based — Installed via
snap install lxd
LXD vs LXC
- LXC (lex-see) — Lower-level container tool
- LXD (lex-dee) — Higher-level manager with REST API, networking, storage, and UI
Quick Start
sudo snap install lxd
lxd init
lxc launch ubuntu:24.04 my-container
lxc exec my-container bash
🌐 Web UI
LXD has a built-in official web UI maintained by Canonical:
- Access at
https://127.0.0.1:8443
- Covers: instance management, graphical console, profiles, server config, snapshots
- Two auth methods: initial bearer token (24h) or permanent mTLS browser certificate
- Source: github.com/canonical/lxd-ui