====== Managing LXD (Incus) on Debian ====== ===== Installing Incus ===== Debian has its own port of LXD called Incus. It can be installed by executing: sudo apt install incus Then initialize Incus: :!: Before initialization, make sure to have a network bridge and ZFS dataset ready if you want to use those. sudo incus admin init FIXME TODO: Define multiple networks (NAT/bridged) and specify how to deploy a VM in them. ===== Listing available images ===== incus image list images: | less ===== Getting a root shell on a container ===== incus exec -- bash ===== Getting to the console of a container ===== incus console ===== List running containers ===== incus list ===== Stopping a container ===== incus stop ===== Creating a new container ===== incus launch images: ===== Delete a container ===== incus delete ===== References ===== * https://wiki.debian.org/LXD * https://www.cyberciti.biz/faq/how-to-install-lxd-on-debian-11-linux/