Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
LXD only works in Linux. It is not supported on macOS or Windows.
LXD does not require a CPU which supports virtualization.
Docker is a more user-friendly alternative to LXD containers and multipass is a more user-friendly alternative to LXD virtual machines. It is suggested that you use Docker/multipass instead of LXD.
Installation¶
sudo snap install lxd
gpasswd -a `id -un` lxd
newgrp lxdSetup LXD¶
lxd initLaunch a container¶
lxc list
lxc launch ubuntu:22.04
lxc exec stirring-beagle -- ls -la
lxc exec -t stirring-beagle /bin/bashPublish LXD Images¶
https://
https://
https://medium.com/tcij1013/lxc-lxd-cheetsheet-effb5389922d