Win10:压缩WSL磁盘
wsl --shutdown
diskpart
select vdisk file="%LOCALAPPDATA%\Docker\wsl\data\ext4.vhdx"
attach vdisk readonly
compact vdisk
detach vdisk
exit
欢迎来到Riguz的小站!这是一个私人wiki,用来记录一些我的笔记。
wsl --shutdown
diskpart
select vdisk file="%LOCALAPPDATA%\Docker\wsl\data\ext4.vhdx"
attach vdisk readonly
compact vdisk
detach vdisk
exit