cleaning-wsl-docker
CommunityReclaims WSL2/Docker disk space
AuthorDanik911
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Reclaims SSD disk space consumed by WSL2 and Docker, addressing issues like "disk full", "out of space", or VHDX growth. It bundles disk space diagnostics with prune, cache cleanup, VHDX compaction guidance, and a preventive setup to keep space under control.
Core Features & Use Cases
- Disk space diagnosis: identifies ext4.vhdx growth and Docker usage that contribute to bloating.
- Cleanup & prune: runs Docker prune, cache cleanup, and unbounded logs removal inside WSL.
- VHDX maintenance: guides VHDX compaction steps and Windows-side optimization.
- Preventive setup: configures WSL to reclaim space automatically (sparse VHD, maintenance cadence).
Quick Start
Diagnose space usage and run cleanup as described in this Skill. For example:
- Diagnose VHDX and Docker usage in PowerShell, 2) Run prune and cache cleanup commands, 3) Follow compact-wsl steps to shrink VHDX, 4) Enable sparse VHD reclaim in .wslconfig and restart WSL.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cleaning-wsl-docker Download link: https://github.com/Danik911/thesis_project/archive/main.zip#cleaning-wsl-docker Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.