To install LXD (Linux Container Daemon) on Ubuntu 18.04 LTS, you can use the following steps:
sudo add-apt-repository ppa:lxd-team/lxd
sudo apt update
sudo apt install lxd
This will install the latest stable version of LXD available in the PPA.
sudo lxd init
This will guide you through the process of setting up LXD on your system. It will ask you to choose a storage backend, configure networking, and set a password for the LXD administrative user. Make sure to follow the prompts and configure LXD according to your preferences.
Once the initialization is complete, LXD will be installed and ready to use on your system. You can use the lxc
command to manage containers and images.