LinuxCommandLibrary

incus

system container and virtual machine manager

TLDR

Initialize Incus

$ incus admin init
copy
Launch a container
$ incus launch images:ubuntu/22.04 [container-name]
copy
Launch a VM
$ incus launch images:ubuntu/22.04 [vm-name] --vm
copy
List instances
$ incus list
copy
Execute command in instance
$ incus exec [name] -- [command]
copy
Open shell in instance
$ incus exec [name] -- bash
copy
Stop an instance
$ incus stop [name]
copy
Delete an instance
$ incus delete [name]
copy

SYNOPSIS

incus command [options]

DESCRIPTION

incus is a system container and virtual machine manager. Community fork of LXD, maintained by the Linux Containers project. Manages containers via LXC and VMs via QEMU through a unified CLI and REST API. Supports local and remote access, profiles, storage pools, and networking.

SUBCOMMANDS

admin init

Initialize Incus.
launch image name
Create and start instance.
start name
Start instance.
stop name
Stop instance.
delete name
Delete instance.
exec name -- cmd
Run command in instance.
list
List all instances.
image list
List available images.
copy
Copy instances.
move
Move instances.
snapshot
Manage snapshots.

SEE ALSO

lxc(1), docker(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community