Skip to content

destroy

Dilshat edited this page Aug 20, 2018 · 5 revisions

Destroy

destroy <instance> [options] - destroys a Subutai container or template

Examples:

subutai destroy container1
subutai destroy my-template

Description:

Simply removes every resource associated with a Subutai container or template: data, network, configs, etc.

The destroy command always runs each step in "force" mode to provide reliable deletion results; even if some instance components were already removed, the destroy command will continue to perform all operations once again while ignoring possible underlying errors: i.e. missing configuration files.

Flag -v tells to the command to consider passed argument as environment VLAN tag and destroy all related components, such as containers, network interfaces, gateways, proxy configurations, etc.
Since version 8, the swtich -v is removed. See subutai cleanup instead