User Tools

Site Tools


public:managing_lxd_on_debian

Managing LXD (Incus) on Debian

Installing Incus

Debian has its own port of LXD called Incus. It can be installed by executing:

sudo apt install incus

Then initialize Incus:

:!: Before initialization, make sure to have a network bridge and ZFS dataset ready if you want to use those.

sudo incus admin init

FIXME TODO: Define multiple networks (NAT/bridged) and specify how to deploy a VM in them.

Listing available images

incus image list images: | less

Getting a root shell on a container

incus exec <containername> -- bash

Getting to the console of a container

incus console <containername>

List running containers

incus list

Stopping a container

incus stop <containername>

Creating a new container

incus launch images:<os/version> <containername>

Delete a container

incus delete <containername>

References

public/managing_lxd_on_debian.txt · Last modified: by thomas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki