Instances

These how-to guides cover common operations related to LXD instances.

Create and manage instances

LXD supports both system containers and virtual machines, configured using direct settings or reusable profiles.

Attach instances to Ubuntu Pro

An LXD server can automatically attach guest instances to its Ubuntu Pro subscription.

Work with instances

Instance files can be accessed from the host, and the instance console can be attached to for log output and debugging. Commands can also be run inside instances through the lxc CLI or by opening a shell.

Back up, import, and migrate instances

Instances can be backed up using snapshots, export files, or copies. Physical machines, as well as virtual machines and containers created using a different technology, can be imported as LXD instances. Instances can also be migrated between LXD servers, including live migration for VMs.

Pass through an NVIDIA GPU

An NVIDIA GPU can be passed through to a container running a Docker workload.