docs: Update destroy

This commit is contained in:
tschettervictor
2025-04-27 12:35:59 -06:00
committed by GitHub
parent e0eab262ab
commit f1813054d0

View File

@@ -1,21 +1,19 @@
destroy destroy
======= =======
Jails can be destroyed and thrown away just as easily as they were created. Destroy jails or releases.
Note: containers must be stopped before destroyed. Using the ``-a|--auto``
option will automatically stop the jail before destroying it.
.. code-block:: shell .. code-block:: shell
ishmael ~ # bastille destroy -a folsom ishmael ~ # bastille destroy -a folsom
[folsom]: [folsom]:
folsom: removed folsom: removed
Deleting Container: folsom. Deleting Jail: folsom.
Note: containers console logs not destroyed. Note: jail console logs archived.
/usr/local/bastille/logs/folsom_console.log /var/log/bastille/folsom_console.log-YYYY-MM-DD
Release can be destroyed provided there are no child jails. The `-c|--no-cache` Release can be destroyed provided there are no child jails. The ``-c|--no-cache``
option will retain the release cache directory, if you choose to keep it. option will retain the release cache (*.txz file), if you choose to keep it.
.. code-block:: shell .. code-block:: shell