Created
May 2, 2021 15:29
-
-
Save aanari/89aff5f00b598cae0444ec687605f3f0 to your computer and use it in GitHub Desktop.
Free Up WSL Docker Space
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wsl --shutdown | |
diskpart | |
:: open window Diskpart | |
select vdisk file="C:\Users\<username>\AppData\Local\Docker\wsl\data\ext4.vhdx" | |
attach vdisk readonly | |
compact vdisk | |
detach vdisk | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment