Modify the default download address of Docker image

1. After installing docker desktop, do not open it yet. 2. Create
a new directory D:\ProgramData\Docker
3. Under C:\Users\your username\AppData\Local, open cmd or powershell and execute the following command. The command syntax is omitted. There are different.
powershell command:

cmd /c mklink /J Docker D:\ProgramData\Docker

cmd command:

mklink /J Docker D:\ProgramData\Docker

Insert image description here

4. Start docker desktop and modify the Disk image location. You need to restart after saving.
Insert image description here

Guess you like

Origin blog.csdn.net/weixin_44691253/article/details/132759489