| 1 |
.. Open Infrastructure: compute-tools |
| 2 |
|
| 3 |
.. Copyright (C) 2014-2026 Daniel Baumann <[email protected]> |
| 4 |
.. |
| 5 |
.. SPDX-License-Identifier: GPL-3.0+ |
| 6 |
.. |
| 7 |
.. This program is free software: you can redistribute it and/or modify |
| 8 |
.. it under the terms of the GNU General Public License as published by |
| 9 |
.. the Free Software Foundation, either version 3 of the License, or |
| 10 |
.. (at your option) any later version. |
| 11 |
.. |
| 12 |
.. This program is distributed in the hope that it will be useful, |
| 13 |
.. but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
.. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
.. GNU General Public License for more details. |
| 16 |
.. |
| 17 |
.. You should have received a copy of the GNU General Public License |
| 18 |
.. along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 19 |
|
| 20 |
================= |
| 21 |
container-rebuild |
| 22 |
================= |
| 23 |
|
| 24 |
------------------- |
| 25 |
Restart a container |
| 26 |
------------------- |
| 27 |
|
| 28 |
:manual section: 1 |
| 29 |
:manual group: Open Infrastructure |
| 30 |
|
| 31 |
Synopsis |
| 32 |
======== |
| 33 |
|
| 34 |
| **container rebuild** ['OPTIONS'] |
| 35 |
| **cnt rb** ['OPTIONS'] |
| 36 |
|
| 37 |
Description |
| 38 |
=========== |
| 39 |
|
| 40 |
The **container rebuild** command rebuilds a container by stopping, removing, building, and starting an existing container. |
| 41 |
|
| 42 |
Options |
| 43 |
======= |
| 44 |
|
| 45 |
The following **container rebuild** options are available: |
| 46 |
|
| 47 |
-n, --name='NAME': |
| 48 |
Specify container name. Specifying 'ALL' will rebuild all started container. |
| 49 |
|
| 50 |
-f, --force: |
| 51 |
Do not fail if container is running. |
| 52 |
|
| 53 |
-v, --verbose: |
| 54 |
Explain what is being done. |
| 55 |
|
| 56 |
Examples |
| 57 |
======== |
| 58 |
|
| 59 |
Rebuild example.net container: |
| 60 |
|
| 61 |
sudo container rebuild -n example.net |
| 62 |
|
| 63 |
Restart all container: |
| 64 |
|
| 65 |
sudo container rebuild -n ALL |
| 66 |
|
| 67 |
See also |
| 68 |
======== |
| 69 |
|
| 70 |
| compute-tools(7), |
| 71 |
| container(1). |
| 72 |
|
| 73 |
Homepage |
| 74 |
======== |
| 75 |
|
| 76 |
More information about compute-tools and the Open Infrastructure project can be |
| 77 |
found on the homepage (https://open-infrastructure.net). |
| 78 |
|
| 79 |
Contact |
| 80 |
======= |
| 81 |
|
| 82 |
Bug reports, feature requests, help, patches, support and everything else are |
| 83 |
welcome on the Open Infrastructure Software Mailing List |
| 84 |
<[email protected]>. |
| 85 |
|
| 86 |
Debian specific bugs can also be reported in the Debian Bug Tracking System |
| 87 |
(https://bugs.debian.org). |
| 88 |
|
| 89 |
Authors |
| 90 |
======= |
| 91 |
|
| 92 |
compute-tools were written by Daniel Baumann |
| 93 |
<[email protected]> and others. |