# Netalertx Docker Prune

> 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: `netalertx/netalertx-docker-prune` (Agent Skill)
- Install (CLI): `npx skillmds@latest add netalertx/netalertx-docker-prune`
- Raw SKILL.md: https://api.skillmd.com/api/skills/netalertx/netalertx-docker-prune/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: netalertx (https://skillmd.com/u/netalertx)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/netalertx/netalertx-docker-prune

---


# 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.

