Skip to content
Kitbay

docker-destructive-guardrails

Apache-2.0Updated on Nov 10, 2026625GitHub stars

A behavioural guardrail skill from Docker that applies before an agent runs or suggests a Docker command that deletes or irreversibly changes state.

What the skill teaches

A behavioural guardrail skill from Docker that applies before an agent runs or suggests a Docker command that deletes or irreversibly changes state. It lists the generic CLI operations it governs, such as removing or killing containers, pruning the system, images, networks, volumes and build cache, and removing buildx builders or contexts, and points to the skills that own Compose, sandbox and Desktop clean-up commands. Its core rule is that the agent spells out which data or resources would disappear and waits for the user to approve, with a narrow exception for low-risk container clean-up. It works with any Docker CLI version.

Capabilities

  • Ask for confirmation before destructive Docker commands
  • Explain what a prune or remove command will delete
  • Index destructive commands owned by other Docker skills