lxc
Description: Command line client for LXD Synopsis: Description: Command line client for LXD All of LXD’s features can be driven through the various commands below. For help with any of those, simply call them w...

Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
View this page
Toggle table of contents sidebar

# `lxc`

Command line client for LXD

## Synopsis

Description: Command line client for LXD

All of LXD’s features can be driven through the various commands below. For help with any of those, simply call them with –help.

## Options

          --all            Show less common commands
          --debug          Show all debug messages
          --force-local    Force using the local unix socket
      -h, --help           Print help
          --project        Override the source project
      -q, --quiet          Don't show progress information
          --sub-commands   Use with help or --help to view sub-commands
      -v, --verbose        Show all information messages
          --version        Print version number

## SEE ALSO

- lxc alias - Manage command aliases

- lxc auth - Manage user authorization

- lxc cluster - Manage cluster members

- lxc completion - Generate the autocompletion script for the specified shell

- lxc config - Manage instance and server configuration options

- lxc console - Attach to instance consoles

- lxc copy - Copy instances within or in between LXD servers

- lxc delete - Delete instances and snapshots

- lxc exec - Execute commands in instances

- lxc export - Export instance backups

- lxc file - Manage files in instances

- lxc image - Manage images

- lxc import - Import instance backups

- lxc info - Show instance or server information

- lxc init - Create instances from images

- lxc launch - Create and start instances from images

- lxc list - List instances

- lxc manpage - Generate manpages for all commands

- lxc monitor - Monitor a local or remote LXD server

- lxc move - Move instances within or in between LXD servers

- lxc network - Manage and attach instances to networks

- lxc operation - List, show and delete background operations

- lxc pause - Pause instances

- lxc profile - Manage profiles

- lxc project - Manage projects

- lxc publish - Publish instances as images

- lxc query - Send a raw query to LXD

- lxc rebuild - Rebuild instances

- lxc remote - Manage the list of remote servers

- lxc rename - Rename instances and snapshots

- lxc restart - Restart instances

- lxc restore - Restore instances from snapshots

- lxc snapshot - Create instance snapshots

- lxc start - Start instances

- lxc stop - Stop instances

- lxc storage - Manage storage pools and volumes

- lxc version - Show local and remote versions

- lxc warning - Manage warnings