| 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-remove |
| 22 |
================ |
| 23 |
|
| 24 |
------------------ |
| 25 |
Remove a container |
| 26 |
------------------ |
| 27 |
|
| 28 |
:manual section: 1 |
| 29 |
:manual group: Open Infrastructure |
| 30 |
|
| 31 |
Synopsis |
| 32 |
======== |
| 33 |
|
| 34 |
| **container remove** ['OPTIONS'] |
| 35 |
| **cnt rm** ['OPTIONS'] |
| 36 |
|
| 37 |
Description |
| 38 |
=========== |
| 39 |
|
| 40 |
The **container remove** command removes a container. |
| 41 |
|
| 42 |
Options |
| 43 |
======= |
| 44 |
|
| 45 |
The following **container remove** options are available: |
| 46 |
|
| 47 |
-n, --name='NAME': |
| 48 |
Specify container name. Specifying 'ALL' will remove all stopped container. |
| 49 |
|
| 50 |
--allow-stop: |
| 51 |
Stop container prior removal. |
| 52 |
|
| 53 |
-f, --force: |
| 54 |
Do not prompt before removal. |
| 55 |
|
| 56 |
-v, --verbose: |
| 57 |
Explain what is being done. |
| 58 |
|
| 59 |
Examples |
| 60 |
======== |
| 61 |
|
| 62 |
Remove example.net container from the system: |
| 63 |
|
| 64 |
sudo container remove -n example.net |
| 65 |
|
| 66 |
Remove example.net container from the system without prompt: |
| 67 |
|
| 68 |
sudo container remove -n example.net -f |
| 69 |
|
| 70 |
Remove a running container from the system, without prompt: |
| 71 |
|
| 72 |
sudo container remove -n example.net -f --allow-stop |
| 73 |
|
| 74 |
Remove all container: |
| 75 |
|
| 76 |
sudo container remove -n ALL |
| 77 |
|
| 78 |
See also |
| 79 |
======== |
| 80 |
|
| 81 |
| compute-tools(7), |
| 82 |
| container(1). |
| 83 |
|
| 84 |
Homepage |
| 85 |
======== |
| 86 |
|
| 87 |
More information about compute-tools and the Open Infrastructure project can be |
| 88 |
found on the homepage (https://open-infrastructure.net). |
| 89 |
|
| 90 |
Contact |
| 91 |
======= |
| 92 |
|
| 93 |
Bug reports, feature requests, help, patches, support and everything else are |
| 94 |
welcome on the Open Infrastructure Software Mailing List |
| 95 |
<[email protected]>. |
| 96 |
|
| 97 |
Debian specific bugs can also be reported in the Debian Bug Tracking System |
| 98 |
(https://bugs.debian.org). |
| 99 |
|
| 100 |
Authors |
| 101 |
======= |
| 102 |
|
| 103 |
compute-tools were written by Daniel Baumann |
| 104 |
<[email protected]> and others. |