Last active
January 17, 2022 18:30
-
-
Save joanteixi/cfdbcaa15058e15c405a78eb2925b559 to your computer and use it in GitHub Desktop.
Compact WSL disk 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
cd C:\Users\joan.teixido\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu20.04onWindows_79rhkp1fndgsc\LocalState | |
wsl --shutdown | |
optimize-vhd -Path .\ext4.vhdx -Mode full | |
cd C:\Users\joan.teixido\AppData\Local\Docker\wsl\data | |
optimize-vhd -Path .\ext4.vhdx -Mode full |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment