docker_compose_down
Stop and remove Docker containers and networks created by docker-compose up, with options to delete volumes and orphaned containers for clean environment management.
Instructions
Stop and remove containers, networks created by docker-compose up
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| volumes | No | Remove named volumes | |
| removeOrphans | No | Remove containers for services not in compose file | |
| file | No | Path to compose file | |
| cwd | No | Working directory |
Input Schema (JSON Schema)
{
"properties": {
"cwd": {
"description": "Working directory",
"type": "string"
},
"file": {
"description": "Path to compose file",
"type": "string"
},
"removeOrphans": {
"default": false,
"description": "Remove containers for services not in compose file",
"type": "boolean"
},
"volumes": {
"default": false,
"description": "Remove named volumes",
"type": "boolean"
}
},
"type": "object"
}