incus rebuild - Incus documentation
Description: Rebuild instances Synopsis: [96;1;4mDescription:[0;22;24m, Wipe the instance root disk and re-initialize with a new image (or empty volume).,,,, Options: Options inherited from parent commands: S...

Skip to content
Back to top
View this page

# `incus rebuild`

Rebuild instances

## Synopsis

[96;1;4mDescription:[0;22;24m
Wipe the instance root disk and re-initialize with a new image (or empty volume).

    incus rebuild [2m([22m--empty[2m|[22m[2m[[22m[32m<remote>[0m:[2m][22m[32m<image>[0m[2m)[22m [2m[[22m[32m<remote>[0m:[2m][22m[32m<instance>[0m [flags]

## Options

          --empty   Rebuild as an empty instance
      -f, --force   If an instance is running, stop it and then rebuild it

## Options inherited from parent commands

          --debug          Show all debug messages
          --explain        If the command is valid, explain its parsed arguments instead of running it
          --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

- incus - Command line client for Incus