Change Docker machine location - Windows

后端 未结 12 1271
执笔经年
执笔经年 2020-12-02 05:08

I am using docker toolbox on Windows 7 to run docker. (docker version 1.9.1)

As it turns out, the docker machine creates its VM at C:\\Users\\username\\.docker\\mach

12条回答
  •  [愿得一人]
    2020-12-02 05:35

    I found lots of these answers were out of data, at least they did not work in my environment: win10 PRO, docker desktop community 2.0.0.3. Finally, I resolved this problem by this method:

    1. uninstall docker

    2. open Hyper-V manager (press WIN key and then enter "Hyper")

    3. Change the default virtual hard disk locations in the Hyper-V settings (not on the VM settings) and confirm

    4. install docker

    5. check the disk image location in advanced options of docker settings

提交回复
热议问题