Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

LXD Setup Validation

Veton Hajdari edited this page Apr 6, 2018 · 3 revisions

Validating your LXD Installation

Once you've successfully installed and initialized LXD (as described here) run a few tests to ensure that LXD is working properly.

If you've installed but not yet initialized LXD pleas run lxd init and accept the default prompts in order to have a fully configured instance of LXD.

Test your install

Verify the Snap Package

Check to make sure that you've got the intended version of LXD installed. snap list

The output should look like the following: Name Version Rev Developer Notes

core 16-2.31.2 4206 canonical core

lxd 3.0.0 6492 canonical -

List Containers

At this point there should be no containers installed on your system. You can check with:

lxc list

no containers

Create a Container

Create a tiny container to make sure that LXD is operating properly.

lxc launch images:alpine/3.7 cnt1

Verify Container Creation

You should now have a single container running.

lxc list

one container

Clone this wiki locally