destroy an environment
The environment destroy command instructs AliECS to teardown an existing O² environment. The environment must be in the CONFIGURED or STANDBY state.
By default, all active tasks are killed unless the keep-tasks flag is passed, in which case all tasks are left idle.
coconut environment destroy [environment id] [flags]
-a, --allow-in-running-state allows destroying an environment while in Running state
-f, --force force destroy of an environment
-h, --help help for destroy
-k, --keep-tasks keep tasks active after destroying the environment
--config string optional configuration file for coconut (default $HOME/.config/coconut/settings.yaml)
--config_endpoint string configuration endpoint used by AliECS core as PROTO://HOST:PORT (default "apricot://127.0.0.1:32101")
--endpoint string AliECS core endpoint as HOST:PORT (default "127.0.0.1:32102")
--nocolor disable colors in output
--nospinner disable animations in output
-v, --verbose show verbose output for debug purposes
- coconut environment - create, destroy and manage AliECS environments