mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-18 16:21:32 +01:00
docs: Update destroy
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user