delete_container
Preview or delete a Docker container by name. Pass confirm=true to execute the irreversible deletion.
Instructions
Delete a container by its name. Stops it first if it's still running. Destructive and irreversible. The first call (confirm=False, the default) does NOT delete anything — it only previews what would happen. Only pass confirm=True after the user has explicitly agreed to the deletion. Args: container_name: Container name that should be deleted confirm: must be True to actually perform the deletion (default False)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| container_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |