Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change .docker directory on Windows

The standard path on Windows where Docker puts stuff is:

C:\Users\<USER>\.docker

We need to put it here:

D:\Docker

We couldn't find any info about where or how to change that setting. Any hint appreciated, thanks!

like image 992
Andrej Stieben Avatar asked Oct 05 '15 12:10

Andrej Stieben


1 Answers

One solution that works for us is creating a symbolic link:

mklink /J "C:\Users\<USER>\.docker" "D:\Docker"

But it's not what we call a clean solution.

(All credit for the question & this answer goes to IMM0rtalis.)

like image 179
Andrej Stieben Avatar answered Nov 19 '22 18:11

Andrej Stieben