Identify the path to virtual disk of the docker (default location: %LOCALAPPDATA%/Docker/wsl/data). Start diskpart from the command line. diskpart Select disk by using the command select vdisk file= Grow the image by running expand command expand vdisk maximum= Shut down WSL2 by executing wsl --shutdown Restart Docker Desktop Start WSL2 Linux shell (this automatically restarts WSL2 again) and execute the lsblk command sudo lsblk Identify the resized virtual disk (/mnt/wsl/docker-desktop-data/isocache, e.g. /dev/sdd in my case) Grow the filesystem on the resized virtual disk by running resize2fs command sudo resize2fs