-
Notifications
You must be signed in to change notification settings - Fork 154
LXD Setup Validation
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.
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 -
At this point there should be no containers installed on your system. You can check with:
lxc list

Create a tiny container to make sure that LXD is operating properly.
lxc launch images:alpine/3.7 cnt1
You should now have a single container running.
lxc list

Congratulations! At this point you should have a fully working and configured instance of LXD on your system.