lxc delete

Delete instances and snapshots

Synopsis

Description: Delete instances and snapshots

lxc delete [<remote>:]<instance>[/<snapshot>] [[<remote>:]<instance>[/<snapshot>]...] [flags]

Options

      --disk-volumes string   Disk volumes mode for snapshot deletion. Possible values are "root" (default) and "all-exclusive". "root" only deletes the instance's root disk volume snapshot. "all-exclusive" deletes the instance's root disk volume snapshot and any exclusively attached volumes (non-shared) snapshots.
  -f, --force                 Force the removal of running instances
  -i, --interactive           Require user confirmation

Options inherited from parent 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 - Command line client for LXD