container-rebuild(1)

container-rebuild1

Restart a container

Usage

container rebuild ['OPTIONS']

cnt rb ['OPTIONS']

Overview

The container rebuild command rebuilds a container by stopping, removing, building, and starting an existing container.

Options

The following container rebuild options are available:

-n, --name='NAME':

Specify container name. Specifying 'ALL' will rebuild all started container.

-f, --force:

Do not fail if container is running.

-v, --verbose:

Explain what is being done.

Examples

Rebuild example.net container:

sudo container rebuild -n example.net

Restart all container:

sudo container rebuild -n ALL

Homepage

More information about compute-tools and the Open Infrastructure project can be found on the homepage ( <https://open-infrastructure.net> ).

Contact

Bug reports, feature requests, help, patches, support and everything else are welcome on the Open Infrastructure Software Mailing List < <[email protected]> >.

Debian specific bugs can also be reported in the Debian Bug Tracking System ( <https://bugs.debian.org> ).

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Authors

compute-tools were written by Daniel Baumann < <[email protected]> > and others.

From open-infrastructure-compute-tools 20250604-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.