sh-notion/notion_data_team_no_files/Dealing with massive Docker virtual disks 11a0446ff9c9800cb90df90e04780c48.md
Pablo Martin a256b48b01 pages
2025-07-11 16:15:17 +02:00

1.2 KiB
Raw Permalink Blame History

Dealing with massive Docker virtual disks

Scope

Situation: you are running out of disk space in your laptop. There are very high chances this is caused by how WSL and Docker manage disk space.

To check if this is truly the issue, take the following steps:

  • Install WinDirStat if you dont have it: https://windirstat.net/
  • Start it up and run a scan. It will show you which folders and files are soaking up disk space in your machine.
  • If you see something along the lines of this screenshot (a single ext4.vhdx file eating up double or triple digit Gbs, hiding in some Docker/WSL folder), then its probably WSL and Docker that are at fault, and this guide is applicable to you. If not, sorry but youll have to look elsewhere. Note that WinDirStat can still be useful to spot where you are losing all your space.

How to fix