Install LXD on Ubuntu

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

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.

To create a container, run

To list all containers, run

lxc list containers

To stop a VM, run

To start VM,

Add a Comment

Your email address will not be published. Required fields are marked *