netalertx-docker-prune

star 6.6k

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.

netalertx By netalertx schedule Updated 1/25/2026

name: netalertx-docker-prune description: 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.

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.

Install via CLI
npx skills add https://github.com/netalertx/NetAlertX --skill netalertx-docker-prune
Repository Details
star Stars 6,554
call_split Forks 411
navigation Branch main
article Path SKILL.md
More from Creator