Install LXD on Ubuntu

LXD is a tool to manage LXC (Linux Containers). lxd allow you to create and manage lightweight Linux containers, it is like docker, but more like an actual virtual machine. LXD is more user-friendly than using LXC directly, has 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 a demon, 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,

To see information about a container


Leave a Reply

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