Article
· May 11, 2023 1m read

Moving Docker in Windows

During my repeated testing with Docker Desktop, I'm often short on disk space
nd need to clean it over and over as described earlier.
The main reason is the rather uncontrolled growth of ext4.vhdx
that is located on my C: drive by default.
So I decided to move this file to a large external disk.

There are several ways to do this and a detailed guide:
https://devops.tutorials24x7.com/blog/how-to-change-docker-data-path-on-windows-10

I decided to choose option C) using symlinks.
I did it only partially, especially for my wild-growing virtual data disk.
this returned ~10GB on my C: drive and provided an additional 500GB space just for testing.
For my purpose, the slightly reduced performance is not important
as I typically check installation and functionality.

As a lateral  result, I found tons of ages-old logs and temp files in <user>\AppData\Temp\   
at least wasting another GB of disk space.

 

Discussion (1)1
Log in or sign up to continue