Skip to content
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

Latest commit

 

History

History
32 lines (21 loc) · 936 Bytes

File metadata and controls

32 lines (21 loc) · 936 Bytes

Virtual disk for WSL2

Space savings

  • Can be anywhere from several GB to a few dozen GB. (24 GB in my case)

What are these files

Virtual disk for Docker Desktop WSL2.

Default locations

  • %LocalAppData%\Docker\wsl

How to move them

This can be easily done from the Docker Desktop GUI directly. Simply go to Settings > Resources, change the value of the Disk image location, click Apply & Restart button and wait. Docker Desktop will then shut down the Docker engine, migrate the virtual disk and start the engine again.

Important

Depending on the size of your Docker virtual disk and the speed of your physical drives, this can take several minutes. Just wait until the Docker Desktop reports that the engine is up again.

Official documentation