Remove a container
remove_containerDeletes a Docker container, optionally stopping it first and removing anonymous volumes, after confirming the destructive action.
Instructions
Remove a container, with force to stop it first if it's running, and with volumes to remove its anonymous volumes. Its data is gone. The server asks the person to confirm it, naming what goes; if they say no, nothing is done.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| volumes | No | ||
| container | Yes | The container's name or id, as its list gives it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| removed | Yes |