docker_remove
Delete a Docker container, image, volume, or network with a preview and explicit confirmation; stop running containers first and expect volume data deletion.
Instructions
Delete one container, image, volume or network (kind).
Destructive. Shows a preview first. Run again with confirm=true after the user says yes. A running container is not removed. Stop it first. Removing a volume deletes the data inside it. A volume with an NFS setting only holds the setting, not the files on the NAS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| kind | Yes | ||
| name | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |