Win10:压缩WSL磁盘

来自WHY42
wsl --shutdown
diskpart

select vdisk file="%LOCALAPPDATA%\Docker\wsl\data\ext4.vhdx"
attach vdisk readonly
compact vdisk
detach vdisk
exit