remove_stack
Removes a Docker Compose stack permanently, including its containers, networks, and volumes. Requires explicit confirmation to proceed.
Instructions
Stops and permanently removes a compose stack: containers, networks, and volumes (data is deleted). The first call (confirm=False, the default) does NOT remove anything — it only previews what would happen. Only pass confirm=True after the user has explicitly agreed to the removal. Args: project_name: unique name for this stack, used to group/manage its containers confirm: must be True to actually perform the removal (default False)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| project_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |