Skip to content

Destroy

Timur Zununbekov edited this page Nov 11, 2016 · 5 revisions

Destroy

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

Options:

--vlan, -v  destroy environment by VLAN tag

Examples:

subutai destroy container1
subutai destroy 101 -v

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.

Clone this wiki locally