Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I move the Docker folder to another disk?

I have been searching far and wide for a solution to this, but it doesnt present it self to me. So far there have been plenty of answers to this question but none of them seem to work. So I will be very specific as to what I need, I need to move this folder here; "C:\Program Files\Docker" to litterally any other drive "D:\Docker" is fine to me, this folder "C:\Program Files\Docker" takes up 2,27 GB, and I don't want that on my C: drive.

like image 861
Alexander Vestergaard Eriksen Avatar asked May 12 '26 00:05

Alexander Vestergaard Eriksen


1 Answers

I know this question is quite old at this point, but you can cut and paste the Docker related folders that reside in C:\Program Files\Docker to wherever you wish Docker's app installation files to reside.

In my case I put them at F:\Docker\app and then created a symlink using CMD (as admin) and entering the following command:

mklink /j "C:\Program Files\Docker" F:\Docker\app

and received the following confirmation after success:

Junction created for C:\Program Files\Docker <<===>> F:\Docker\app

like image 128
Maleko48 Avatar answered May 17 '26 08:05

Maleko48