# Netalertx Docker Prune

> Netalertx Docker Prune is an Agent Skill for devops & security published in the netalertx/NetAlertX repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Clean up unused Docker resources. Use this when asked to prune docker, clean docker, remove unused images, free disk space, or docker cleanup. DANGEROUS operation. Requires human confirmation.

- Skill name: `netalertx-docker-prune`
- Category: [DevOps & Security](https://www.openparable.com/skill/devops-security/1)
- Source: https://github.com/netalertx/NetAlertX/blob/HEAD/.github/skills/docker-prune/SKILL.md
- Repository: netalertx/NetAlertX (6,749 GitHub stars when collected)

## SKILL.md

# Docker Prune

**DANGER:** This destroys containers, images, volumes, and networks. Any stopped container will be wiped and data will be lost.

## Command

```bash
/workspaces/NetAlertX/.devcontainer/scripts/confirm-docker-prune.sh
```

## What Gets Deleted

- All stopped containers
- All unused images
- All unused volumes
- All unused networks

## When to Use

- Disk space is low
- Build cache is corrupted
- Clean slate needed for testing
- After many image rebuilds

## Safety

The script requires explicit confirmation before proceeding.

---

Source: https://www.openparable.com/skill/devops-security/netalertx-docker-prune (OpenParable). Cite the canonical URL above.
