Netalertx Docker Prune
DevOps & Securitynetalertx-docker-pruneNetalertx 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.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/netalertx/NetAlertX/blob/HEAD/.github/skills/docker-prune/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/netalertx-docker-prune, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Docker Prune
DANGER: This destroys containers, images, volumes, and networks. Any stopped container will be wiped and data will be lost.
Command
/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.