Linux mount an LVM volume / partition command

To install LXD (Linux Containers) on Ubuntu 18.04 LTS, you can use the following steps:

  1. Install the necessary packages: sudo apt install lxd lxd-client
  2. Initialize LXD by running sudo lxd init and following the prompts. You can choose to use the default settings or customize the storage pool and network settings.
  3. Verify the installation by checking the version of LXD: lxd --version
  4. You can now create and manage containers using the lxc command, for example lxc launch ubuntu:18.04 mycontainer
  5. To manage the container you can use the command lxc list to see the list of container and lxc stop and lxc start to stop and start a container.

Note: It is recommended to use the latest version of LXD, if you are using an older version of Ubuntu, you may need to install from a PPA or from source.

Leave a Comment