Marketplace/Docker Prune Scheduler
DEVOPS

Docker Prune Scheduler

Scheduled cleanup of unused Docker images, volumes, and stopped containers.

dockercleanupdisk-spacescheduling

About this skill

Docker Prune Scheduler prevents disk exhaustion on build servers and dev machines by cleaning up Docker resources on a configurable schedule. It identifies dangling images, exited containers, and orphaned volumes, then removes them based on retention rules you define.

Unlike running `docker system prune -af`, this skill is selective. It never removes images referenced by running containers, preserves images matching label-based keep rules, and retains the N most recent tags per repository. A dry-run mode shows exactly what would be removed before anything is deleted.

The skill requires `docker` on PATH. It writes cleanup reports to a local log file showing bytes reclaimed, resources removed, and resources preserved. Optionally sends summaries to a Slack webhook.

Key features

  • Label-based image retention rules
  • Dry-run mode before destructive cleanup
  • Disk reclamation reports with byte counts
  • Never removes images used by running containers

Permissions

  • Execute commands
  • Read files
  • Write files
TRUST SCORE
99/100
safe
FINDINGS — 1 TOTAL
critical
0
high
0
medium
0
low
0
info
1
INSTALL
Download SKILL.md
SC
Scandar
@scandar
Version1.4.0
Last updated2026-02-22
Downloads1.1K
Created2025-11-18
Scandar Verified
RELATED SKILLS