In screenshot below, i first tried to clone with out creating destination folder. That resulted in error. After creating destination folder, vmkfstools command worked.
Creating VM using cloned disk
Login to VMware ESXi web interface. Create a new VM. On the step where you select hardware, delete existing Disk. Add a new disk, browse and select the newly created clone disk. In this case – “/vmfs/volumes/disk2/ubuntu-clone/ubuntu-clone.vmdk”
Once the VM creation is finished, you will be able to start the new VM. You can create a VM, then use it as template for creating new virtual machines.
LXD is tool to manage LXC (Linux Containers). lxd allow you to create and manage light weight linux containers, it is like docker, but more like an actual virtual machine. LXD is more user friendly than using LXC directly, have more features like clustering of servers.
On Ubuntu/Debian, run
apt install-ylxd lxd-client
Before you start using lxd, run
Just press enter for all questions. Defaults should work. lxd is demaon, only used one time during “lxd init”. After this, you will be using lxc command for everything.