public:managing_lxd_on_debian
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| public:managing_lxd_on_debian [2024/05/08 08:54] – created thomas | public:managing_lxd_on_debian [2024/05/13 09:15] (current) – thomas | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Managing LXD on Debian ====== | + | ====== Managing LXD (Incus) |
| - | ===== Installing | + | ===== Installing Incus ===== |
| Debian has its own port of LXD called Incus. It can be installed by executing: | Debian has its own port of LXD called Incus. It can be installed by executing: | ||
| Line 10: | Line 10: | ||
| Then initialize Incus: | Then initialize Incus: | ||
| + | |||
| + | :!: Before initialization, | ||
| < | < | ||
| sudo incus admin init | sudo incus admin init | ||
| </ | </ | ||
| + | |||
| + | FIXME TODO: Define multiple networks (NAT/ | ||
| + | |||
| + | ===== Listing available images ===== | ||
| + | |||
| + | < | ||
| + | incus image list images: | less | ||
| + | </ | ||
| + | |||
| + | ===== Getting a root shell on a container ===== | ||
| + | |||
| + | < | ||
| + | incus exec < | ||
| + | </ | ||
| + | |||
| + | ===== Getting to the console of a container ===== | ||
| + | |||
| + | < | ||
| + | incus console < | ||
| + | </ | ||
| + | |||
| + | ===== List running containers ===== | ||
| + | |||
| + | < | ||
| + | incus list | ||
| + | </ | ||
| + | |||
| + | ===== Stopping a container ===== | ||
| + | |||
| + | < | ||
| + | incus stop < | ||
| + | </ | ||
| + | |||
| + | ===== Creating a new container ===== | ||
| + | |||
| + | < | ||
| + | incus launch images:< | ||
| + | </ | ||
| + | |||
| + | ===== Delete a container ===== | ||
| + | |||
| + | < | ||
| + | incus delete < | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== References ===== | ||
| + | |||
| + | * https:// | ||
| + | * https:// | ||
public/managing_lxd_on_debian.1715158463.txt.gz · Last modified: by thomas
